| 1 |
import os |
| 2 |
|
| 3 |
from django.urls import path |
| 4 |
from django.views.static import serve |
| 5 |
|
| 6 |
here = os.path.dirname(__file__) |
| 7 |
|
| 8 |
urlpatterns = [ |
| 9 |
path( |
| 10 |
"custom_templates/<path:path>", |
| 11 |
serve, |
| 12 |
{"document_root": os.path.join(here, "custom_templates")}, |
| 13 |
), |
| 14 |
] |