Dear list, I follow http://www.tangowithdjango.com/book/chapters/templates_static.html
The book instructs me to insert a SETTINGS_DIR and PROJECT_PATH variables in my project settings.py. However, the automatically created settings.py already contains a line BASE_DIR = os.path.dirname(os.path.dirname(__file__)) that looks very similar to the next three lines I added. Am I reproducing code here? Do I make a mistake if I take the BASE_DIR~ line out? Thanks for your guidance! David settings.py (slection): # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SETTINGS_DIR = os.path.dirname(__file__) PROJECT_PATH = os.path.join(SETTINGS_DIR, os.pardir) PROJECT_PATH = os.path.abspath(PROJECT_PATH) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/531B8712.8040101%40gmx.net. For more options, visit https://groups.google.com/d/optout.