4 ms·
Coming to Django, if you want to do auth via email instead of username, you are out of batteries. I say this criticism as a fan of both Django and Rails.
by aleyan 9y ago
Coming to Django, if you want to do auth via email instead of username, you are out of batteries. I say this criticism as a fan of both Django and Rails.
- gjjrfcbugxbhf 9y agoIt's about 20 loc to implement this in Django... Edit: problem is that when starting a new project people often miss those 20 loc - as well as not noticing the documented best practices for accessing the user...
- abledon 9y agoyeah, but i think by mentioning 'batteries' it means __no__ code is needed, simply a change in a config setting / changing a string to say.. 'username'-> 'email' somewhere.
- abledon 9y agoHow do you like Django's DB migration system, how it will autogenerate ManyToMany tables etc.. i was astounded how much manual code is needed: http://jeffthomas.xyz/many-to-many-relationships-in-rails http://jeffthomas.xyz/many-to-many-relationships-in-rails