1.在1.9——>到2.0的版本中, Django.core.urlresolvers import reverse ——>django.urls
2.当无法访问时把原来的数据清空:
首先:python manage.py flush
然后使用python manage.py createsuperuser重新创建