Hi
Models always do belong to app. All apps do have AppConfig (one or more)
So when adding app (and thus models) to INSTALLED_APPS you need to point to
which AppConfig you use (defined in apps.py)
to 4. heinäk. 2019 klo 11.58 pastrufazio kirjoitti:
> Hi!
>
> I've read some examples about
Hi!
I've read some examples about custom User Model. In all of them, it's
suggested implement the class AbtractUser (in this case the app is called
*users*)
For instance, in this example
https://wsvincent.com/django-custom-user-model-tutorial/ they do
users/models.pyfrom
2 matches
Mail list logo