diff options
Diffstat (limited to 'apps/links/urls.py')
-rw-r--r-- | apps/links/urls.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/links/urls.py b/apps/links/urls.py deleted file mode 100644 index 5a16d6e..0000000 --- a/apps/links/urls.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.conf.urls.defaults import * -from django.views.generic import list_detail -from django.views.generic.simple import redirect_to -from links.models import Link - -photos_paged = { - 'queryset': Link.objects.filter(status__exact=1).order_by('-pub_date'), - 'paginate': True, - 'page_url': '/links/%d/', -} - -urlpatterns = patterns('', - (r'^(?P<page>\d+)/$', list_detail.object_list, dict(photos_paged, template_name='archives/links.html')), - (r'^$', redirect_to, {'url': '/links/1/'}), -) |