bia-fitness/web/urls.py
2015-04-03 16:49:23 -04:00

13 lines
432 B
Python

from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from django.conf.urls.static import static
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^fitnotes-upload/$', 'lifting.views.fitnotes_upload'),
url(r'^lifting/(?P<year>\d{4})/(?P<month>\d{1,2})/$', 'lifting.views.month'),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)