()
| 13 | |
| 14 | @functools.cache |
| 15 | def django_file_prefixes(): |
| 16 | file = getattr(django, "__file__", None) |
| 17 | if file is None: |
| 18 | return () |
| 19 | return (os.path.join(os.path.dirname(file), ""),) |
| 20 | |
| 21 | |
| 22 | class RemovedInNextVersionWarning(DeprecationWarning): |