summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/urls.py
blob: ab17990322c12e047ac8e9fcefa139ae2d1d17e5 (plain)
1
2
3
4
5
6
7
8
9
10
import os
from django.conf.urls import url
from django.utils._os import upath

here = os.path.dirname(upath(__file__))

urlpatterns = [
    url(r'^custom_templates/(?P<path>.*)$', 'django.views.static.serve', {
        'document_root': os.path.join(here, 'custom_templates')}),
]