Why do I get a “auth_user does not exist”error when running “migrate” on a newly created django project with “registration redux” app installed?

前端 未结 6 1483
小鲜肉
小鲜肉 2021-02-20 10:57

Given a newly created django project with the following installed apps:

INSTALLED_APPS = (
\'django.contrib.admin\',
\'django.contrib.auth\',
\'django.contrib.co         


        
6条回答
  •  不知归路
    2021-02-20 11:42

    you have not migrated your models

    python manage.py makemigrations my_app_name

    for mac os

    python3 manage.py makemigrations my_app

提交回复
热议问题