Changes between Version 1 and Version 2 of Ticket #25034


Ignore:
Timestamp:
Jun 28, 2015, 4:13:45 PM (9 years ago)
Author:
David Evans
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25034 – Description

    v1 v2  
    99Case 2 seems to be entirely redundant as it's only used for defining `urlpatterns` in that file and I can't find anything which uses this or any mention of it in the docs going back to v1.4. If I remove those lines the tests continue to pass, so I hoping this can be safely removed.
    1010
    11 If we could remove these two cases then we have the simple rule that settings are not to be accessed at import time, and we won't have any subtle import-order requirements.
     11The coding style document [https://docs.djangoproject.com/en/1.8/internals/contributing/writing-code/coding-style/#use-of-django-conf-settings suggests] that such import-time evaluation of settings is to be avoided, and it's causing at least some real-world confusion, so it would be good to clean this up if possible.
Back to Top