Dear all,
          I was encountered with a login in issue  . I've changed domain name and display name to IP , but when I relogin now, I can't reach login page , and it reports as below :


         500 Internal Server ErrorSite matching query does not exist. 

            Oops, something has gone wrong! 

 

And I set 'DEBUG = True' in settings.conf   , and it reported like below :


DoesNotExist at /accounts/login/

Site matching query does not exist.
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/login/?next=/scheduler/job/42
Django Version:1.11.14
Exception Type:DoesNotExist
Exception Value:
Site matching query does not exist.
Exception Location:/usr/lib/python3/dist-packages/django/db/models/query.py in get, line 380
Python Executable:/usr/bin/python3
Python Version:3.5.3
Python Path:
['/',
 '/usr/bin',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
 '/usr/local/lib/python3.5/dist-packages',
 '/usr/local/lib/python3.5/dist-packages/icsectl-0.2-py3.5.egg',
 '/usr/lib/python3/dist-packages']


So I just wanna know how can I set it back?



Yours , sincerely

 Su Chuan