summaryrefslogtreecommitdiff
path: root/apps/links/detail_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/links/detail_urls.py')
-rw-r--r--apps/links/detail_urls.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/links/detail_urls.py b/apps/links/detail_urls.py
deleted file mode 100644
index 2b6ec5d..0000000
--- a/apps/links/detail_urls.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from django.conf.urls.defaults import *
-from django.views.generic.simple import redirect_to
-from links.models import Link
-
-
-detail_dict = {
- 'queryset': Link.objects.filter(status__exact=1),
-}
-urlpatterns = patterns('django.views.generic.list_detail',
- (r'^$', redirect_to, {'url': '/links/1/'}),
- (r'^(?P<object_id>\d+)/$', 'object_detail', dict(detail_dict, template_name='details/link.html')),
-)
-