From 1e084ed11cde8c1fce14eb1927657034dffff55f Mon Sep 17 00:00:00 2001 From: Sirin Puenggun Date: Sat, 9 Sep 2023 21:25:35 +0700 Subject: [PATCH] Update README about debug mode --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb28b26..82b77eb 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,16 @@ python manage.py loaddata data/polls-v1.json python manage.py loaddata data/user.json python manage.py runserver ``` -Then connect to `http://127.0.0.1:8000/` or `localhost:8000/` + +***NOTE*** + +By Default `DEBUG=False` and Django will not load CSS file for you so if you want to apply CSS run this. +```bash +python manage.py runserver --insecure +``` +or set `DEBUG=True` + +Then connect to [http://127.0.0.1:8000/](http://127.0.0.1:8000/) or [localhost:8000/](localhost:8000/) **Recommend**