Open ishankhare07 opened 4 years ago
I need more details about how you have set up your user customisation before I can usefully comment very much on this.
However, what I can say is that django-diary uses a Customer model that subclasses the default User. If you are using a different User model in your app that is likely to cause complications in several places. The first such place is in the migrations. Secondly, you are likely to need to create and install your own authentication backend in such a way that django-diary works harmoniously with your own code.
If you look at the setup of the example test app it is designed in such a way that Users typically have admin rights, while Customers have much more restricted access, and in particular cannot see or modify each others' details.
Hi, I have a custom user model defined. For this reason I already have
settings.AUTH_USER_MODEL
set. But going through the installation docs, when I runmanage.py migrate
I get the following error:Currently I've already set
settings.AUTH_USER_MODEL='core.User'