From 14340738a8b03a62f260af2b2f755fc11193a90a Mon Sep 17 00:00:00 2001 From: Simon Vandevelde Date: Sat, 26 Sep 2020 16:07:12 +0200 Subject: [PATCH] Fix type + change to correct ini file --- Basic-Setup.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Basic-Setup.md b/Basic-Setup.md index 3972173..2820141 100644 --- a/Basic-Setup.md +++ b/Basic-Setup.md @@ -35,9 +35,14 @@ It should now look like this: [global] secret_file = secret.txt debug = false +;Advanced options, only uncomment if you know what you're doing: +;static_root = /path/to/static +;static_url = /static/ +;language_code = en-us +;time_zone = UTC [allowed_hosts] -allowed_host1 = * +allowed_host1 = example.com [database] engine = django.db.backends.sqlite3 @@ -54,7 +59,7 @@ After initialising the server, you can run it for the first time. ``` On the machine, you can now surf to `localhost:8000` and it should show a page saying "It works!" -If you're on a different machine than the one running the server, surf to it's local IP address followed by the portnumber, e.g. `192.168.x.x:8000`. +If you're on a different machine than the one running the server, surf to its local IP address followed by the portnumber, e.g. `192.168.x.x:8000`. If this works, congratulations! You now have a functioning Django application.