Hello,
I have issues using custom user model and forms from contrib.auth.forms
When using `UserCreationForm` it says `auth_user table does not exists` which is expected since i have different user model.
Looking at the code, some pieces of code use `get_user_model` and `UserModel` while model forms use `User` imported from `auth.models`.
For example:
If i use UserModel there it seems to work fine. Would this be considered a bug?
Just wanted to check before creating a ticket.
Thank you,
Davor
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKB_9CJDg-J0bkvCy0O%3DOpA0pAkRUr7WuPE2syfK3ydx8F-vbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment