Maik Hoepfel
30eead5e33
Remove custom user app from sandbox
This is to keep the sandbox as vanilla as possible, as it's the
environment that migrations should be built against.
12 лет назад
David Winterbottom
5d77dd642a
Support sandbox in Django < 1.5
Wrap the custom user classes in a conditional block.
12 лет назад
David Winterbottom
2c36b75e28
Add an abstract Oscar user model
This can be used by new Oscar installs. It's the same as a the core
Django one but without a username.
12 лет назад
David Winterbottom
d4e51bb6f9
Add support for a truly custom User model
The new model must have an email field but Oscar will work without
anything else.
12 лет назад
David Winterbottom
4a0c236a13
Add support for a User model which extends AbstractUser
These are simpler as they are guaranteed to have an email field which
Oscar uses for authentication.
12 лет назад
Maik Hoepfel
1bc23cdbec
Update testing for Django 1.5
* Emailbackend: Updated to use REQUIRED_FIELDS
* Demo and sandbox site now use compat.AUTH_USER_MODEL as well
* Added example custom user that gets tested for Django >= 1.5
12 лет назад
David Winterbottom
0a27d9ccfe
Add demo site
Example sites now sit in their own folder (sites) for easier
organisation.
13 лет назад
David Winterbottom
69045acc5d
Added view/form for handling updates to user and profile.
It handles the situation where there is no profile model too, and
dyncamically builds a profile and user form
13 лет назад