Re: Django default auth user but unique email

2015-02-06 Thread Bruce Li
you can enforce > uniqueness at the database level. > > -James > On Jan 26, 2015 7:01 PM, "Bruce Li" > > wrote: > >> To be more specific, I want the username and email in default user model >> both to be unique and not blank. >> >> On Tu

Re: Django default auth user but unique email

2015-01-26 Thread Bruce Li
To be more specific, I want the username and email in default user model both to be unique and not blank. On Tuesday, January 27, 2015 at 10:56:14 AM UTC+8, Bruce Li wrote: > > Hi, > > I want to build my user management based on default django users. But I > want emails to be uni

Django default auth user but unique email

2015-01-26 Thread Bruce Li
Hi, I want to build my user management based on default django users. But I want emails to be unique as well. Is it possible to do that without the need to create a custom user model and user managment? Thanks, - Bruce -- You received this message because you are subscribed to the Google Gro

Default auth with username but unique email, is it possible?

2015-01-26 Thread Bruce Li
Hi, I'm using django's default auth settings in my app. All I want is to make email unique for each user. Is it possible to do that without creating a custom user model and user manager? Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" grou