Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AbstractUser model #267

Open
Alerion opened this issue Apr 15, 2015 · 0 comments
Open

Use AbstractUser model #267

Alerion opened this issue Apr 15, 2015 · 0 comments

Comments

@Alerion
Copy link
Contributor

Alerion commented Apr 15, 2015

Сейчас сделано через наследование от модели User и в БД получаем две таблицы. Еще проблемы с уникальным полем email, и скопированы миграции для приложения auth с небольшим патчем.

Необходимо наследоваться от AbstractUser, чтобы была одна таблица в БД, и не дублировать миграции приложения auth.

И поправить настройку AUTH_USER_MODEL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant