i'm sure there is a better way to check if user with submitted
username or email already exists, please share your ways...
Aljosa
Poromenos
On Aug 6, 12:42 am, Aljosa Mohorovic <aljosa.mohoro...@gmail.com>
wrote:
The function returns either:
- a new user object and True if the user didn't exist yet (and had to
be created);
- an object with existing user data and False.
Mind that you still have to call user.save() in case of a new user.
On Aug 5, 11:42 pm, Aljosa Mohorovic <aljosa.mohoro...@gmail.com>
wrote:
Aljosa
On Aug 6, 12:02 pm, Aljosa Mohorovic <aljosa.mohoro...@gmail.com>
wrote:
good point but in my situation users will mostly be companies so i
want to ensure that nobody with same email registers twice.
Aljosa