diff options
Diffstat (limited to 'app/links/detail_urls.py')
-rw-r--r-- | app/links/detail_urls.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/links/detail_urls.py b/app/links/detail_urls.py deleted file mode 100644 index 9c76a7f..0000000 --- a/app/links/detail_urls.py +++ /dev/null @@ -1,10 +0,0 @@ -from django.conf.urls import * -from django.views.generic.base import RedirectView -from django.views.generic.detail import DetailView -from links.models import Link - - -urlpatterns = patterns('', - (r'^$', RedirectView.as_view(url="/links/1/")), - (r'^(?P<object_id>\d+)/$', DetailView.as_view(model=Link, template_name='details/link.html')), -) |