Install
1 2 3 4 5 6 7 8 9 10 11 |
($ pip3 install mezzanine) # pip3 install mezzanine $ mezzanine-project ProjectName $ cd ProjectName $ python3 manage.py createdb --noinput ($ python3 manage.py runserver) $ python3 manage.py runserver 0.0.0.0:8000 $ grep -r ALLOWED_HOSTS * $ vi ProjectName/local_settings.py |
ProjectName/local_settings.py:
1 2 |
# ALLOWED_HOSTS = ["localhost", "127.0.0.1", "::1"] ALLOWED_HOSTS = ["*", "localhost", "127.0.0.1", "::1"] |
http://localhost:8000/admin/
username: admin, password: default