Skip to content
Snippets Groups Projects
Commit 1ca6b2fc authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

removed unused import, reformated code.

parent f9db1f1b
No related branches found
No related tags found
No related merge requests found
from django.conf.urls import patterns, url, include
from django.conf.urls import patterns, url
from views import get, get_current, nop_form
import os
NOP_STATIC_DIR = os.path.join(os.path.dirname(__file__), 'site_media')
NOP_SITE_MEDIA = os.path.join(os.path.dirname(__file__), 'site_media')
urlpatterns = patterns(
'',
url(r'^/get_current/?$', get_current),
url(r'^/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<hour>\d{1,2})/(?P<minute>\d{1,2})/?$',
get),
url(r'^/?$', nop_form),
url(r'^/static/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': NOP_STATIC_DIR}),
urlpatterns = patterns('',
url(r'^/get_current/?$', get_current),
url(r'^/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<hour>\d{1,2})/(?P<minute>\d{1,2})/?$', get),
url(r'^/?$', nop_form),
url(r'^/static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': NOP_SITE_MEDIA}),
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment