2011-12-22 22:38:02 +00:00
|
|
|
import os
|
2015-01-28 12:35:27 +00:00
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
from django.conf.urls import url
|
2014-08-12 14:54:42 +00:00
|
|
|
from django.views.static import serve
|
2011-12-22 22:38:02 +00:00
|
|
|
|
2017-01-20 13:01:02 +00:00
|
|
|
here = os.path.dirname(__file__)
|
2011-12-22 22:38:02 +00:00
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
urlpatterns = [
|
2014-08-12 14:54:42 +00:00
|
|
|
url(r'^custom_templates/(?P<path>.*)$', serve, {
|
2014-04-02 00:46:34 +00:00
|
|
|
'document_root': os.path.join(here, 'custom_templates')}),
|
|
|
|
]
|