summaryrefslogtreecommitdiff
path: root/bak/unused_apps/photos/detail_urls.py
blob: 0ab94f691e1be281d40239c612d364d73a93459d (plain)
1
2
3
4
5
6
7
8
9
10
from django.conf.urls import url
from django.views.generic.detail import DetailView
from photos.models import Photo

urlpatterns = [
    url(
        r'^(?P<object_id>\d+)/$',
        DetailView.as_view(model=Photo, template_name='details/photo.html')
    ),
]