I'm using Wagtail cms on django framework, problem is localhost address, I want to access to the site running in 127.0.0.1:8000 by localhost? I tried hosts file, but no luck !
Asked
Active
Viewed 3,971 times
2 Answers
0
Per don.joey's comment, you can specify the address and port of your local server with something like: python manage.py runserver 127.0.0.1:8001. If you change the address, you'll have to add it to ALLOWED_HOSTS in your settings file.
aqua
- 21
0
Finally I found the solution: from Wagtail Admin/Settings/Sites/Example site change the site
Homan50
- 1