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 1587
小鲜肉
小鲜肉 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:39

    I had this problem too, solved it by replacing old registration with one that includes pull #25:

    pip install git+https://github.com/macropin/django-registration.git@v1.2c0
    

提交回复
热议问题