Django admin DoesNotExist at /admin/

前端 未结 9 2066
故里飘歌
故里飘歌 2020-12-01 01:23

I have some problems with Django admin.

after syncdb, the result is:

  Creating tables ...
  Installing custom SQL ...
  Installing indexes ...
  No          


        
9条回答
  •  鱼传尺愫
    2020-12-01 02:09

    Yes, the solution mentioned at the top can be (part of) the solution.

    I've noticed however, that not only including django.contrib.sites without configuration can cause that problem, also including any site of allauth (pip install django-allauth) might cause this problem if said package is not configured correctly.

    (And allauth is as far as I've seen not configured correctly by default...)

提交回复
热议问题