#20400: during tutorial02 os, BASE_DIR not defined --------------------------------+-------------------------------------- Reporter: karim.nassar@… | Owner: nobody Type: Uncategorized | Status: closed Component: Documentation | Version: 1.6 Severity: Normal | Resolution: invalid Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------+--------------------------------------
Comment (by erikr): Replying to [comment:6 ShawnMTherrien]: > I'm not using "dev" and the "import os" and setting BASE_DIR is still not explained. Yes, this is true. However, this will not lead to the error you describe. The context of this in the tutorial is that you add the lines to the settings file. In Django 1.6, the standard settings [[https://github.com/django/django/blob/stable/1.6.x/django/conf/project_template/project_name/settings.py|already import os and define BASE_DIR]]. -- Ticket URL: <https://code.djangoproject.com/ticket/20400#comment:7> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/078.6f24c55619694af9e41bd9415f9be71e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.