From 2e0020d91c08fe024d39a5ad646aefb5e0eeac7f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 23 Apr 2013 23:29:02 -0400 Subject: fixed bug in details views --- app/photos/detail_urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/photos/detail_urls.py') diff --git a/app/photos/detail_urls.py b/app/photos/detail_urls.py index 3acd139..7619220 100644 --- a/app/photos/detail_urls.py +++ b/app/photos/detail_urls.py @@ -8,5 +8,5 @@ detail_dict = { } urlpatterns = patterns('', - (r'^(?P\d+)/$', DetailView.as_view(model=Photos,template_name='details/photo.html')), + (r'^(?P\d+)/$', DetailView.as_view(model=Photo,template_name='details/photo.html')), ) -- cgit v1.2.3-70-g09d2