blob: ef052d0030df0d74379fa218c0569d7fe2b76690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import functools
import os
import django
@functools.cache
def django_file_prefixes():
file = getattr(django, "__file__", None)
if file is None:
return ()
return (os.path.join(os.path.dirname(file), ""),)
|