#23436: Should use abspath for default settings.BASE_DIR -------------------------------------+------------------------------------- Reporter: hjwp | Owner: nobody Type: | Status: new Cleanup/optimization | Version: 1.6 Component: Uncategorized | Resolution: Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by timgraham): I'm still not sure what problems this would cause in practice. In the example you give, `python -i myproject/settings.py`, it seems like `__file__` doesn't return an absolute on Python 3.4 since it's covered by: "with the sole exception of `__main__.__file__` when a script has been executed directly using a relative path". -- Ticket URL: <https://code.djangoproject.com/ticket/23436#comment:6> 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/062.4e0702a9f3b64d02347eecf1102a566f%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.