#33473: Dev Server fails to restart after adding BASE_DIR to
TEMPLATES[0]['DIRS']
in settings
-----------------------------------------+-----------------------------
Reporter: craiglabenz | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords: development
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-----------------------------
Repro steps:
$ pip install -U django
$ django-admin startproject <name>
Open settings.py, copy the BASE_DIR variable from line 16 and paste it
into the empty DIRS list on line 57
$ ./manage.py runserver
Back in your IDE, save a file and watch the dev server *NOT* restart.
Back in settings.py, remove BASE_DIR from the templates DIRS list.
Manually CTRL-C your dev server (as it won't restart on its own when you
save), restart the dev server. Now return to your settings.py file, re-
save it, and notice the development server once again detects changes and
restarts.
This bug prevents the dev server from restarting no matter where you make
changes - it is not just scoped to edits to settings.py.
--
Ticket URL: <https://code.djangoproject.com/ticket/33473>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.3b69c3172e395cb4b1ec7d591b668a0b%40djangoproject.com.