#23436: Should use abspath for default settings.BASE_DIR
--------------------------------------+------------------------------------
Reporter: hjwp | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Other) | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by aaugustin):
* component: Uncategorized => Core (Other)
* stage: Unreviewed => Accepted
Comment:
I don't see what purpose would be served by executing a Django settings
module with `python path/to/settings.py`. Is there a use case for which
this is a proper solution? As Tim explained, we can't cover that case on
Python 3.4+ anyway, so I'm going to ignore it.
For consistency between Python 3.4+ and earlier versions, I'm going to add
the `abspath` call, even thought I'm still convinced it doesn't change
anything, except maybe in contrived made-up examples.
--
Ticket URL: <https://code.djangoproject.com/ticket/23436#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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.67e14b8835ceb0e8f543bc42f5d2dae2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.