On 21/03/2012, at 1:49 AM, Бачериков Вячеслав wrote: >> > There other way do do this. > For example tunning of User model can done by configuration, like that: > > EXTENDED_USERMODEL_SETTINGS = {'email': > {'uniq':True,'max_length':255, > 'field_type':EmailField}, > 'first_name': None, > 'last_name': None, > 'name': CharField > }
It's difficult to measure my magnitude of my objection to this suggestion with conventional instruments. This seems like an extraordinarily complex way to duplicate large parts of the functionality you can get by defining the right model in the first place. And that's before we get to the complications this will introduce into the codebase, and the testing requirements that it will impose. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.