Changes between Initial Version and Version 1 of Ticket #33162


Ignore:
Timestamp:
Oct 1, 2021, 6:09:40 AM (3 years ago)
Author:
Thomas Güttler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33162 – Description

    initial v1  
    33For other files I use this pattern, to see which actual file is loaded:
    44
    5 ```
     5
     6
     7{{{
    68assert 0, mylib.__file__
    7 ```
     9}}}
    810
    911Unfortunately this does not work for `django.conf.settings`:
    1012
    11 ```
     13{{{
    1214AttributeError: 'Settings' object has no attribute '__file__'
    13 ```
     15}}}
    1416
    1517It would be super cool, if this attribute would be available.
Back to Top