I have been using a (in general quite popular I think ...) convention
where the e-mail address has been used as username. I have solved this
by asking the user for an e-mail address and a password, and then used
the supplied e-mail address both as username and e-mail address when
instantiating a User object. This has worked fine up until now.
Now suddenly someone came along with an e-mail address which was
longer than the 30 characters limit imposed on the username; and
things went to pieces. I have Googled this topic but did not find any
clear cut simple solution, altough I am definitely not the first one
to stumble over this problem.
So two questions:
1) I modified the (development) database directly increasing the field
size from 30 to 75; and that seemed to work nicely; but I am not very
comfortable about the solution. What do you say?
2) Any chance of changing this in a future release?
Joakim
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment