Changes between Initial Version and Version 1 of Ticket #33162
- Timestamp:
- Oct 1, 2021, 6:09:40 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33162 – Description
initial v1 3 3 For other files I use this pattern, to see which actual file is loaded: 4 4 5 ``` 5 6 7 {{{ 6 8 assert 0, mylib.__file__ 7 ``` 9 }}} 8 10 9 11 Unfortunately this does not work for `django.conf.settings`: 10 12 11 ``` 13 {{{ 12 14 AttributeError: 'Settings' object has no attribute '__file__' 13 ``` 15 }}} 14 16 15 17 It would be super cool, if this attribute would be available.