diff options
Diffstat (limited to 'apps/blog/urls.py')
-rw-r--r-- | apps/blog/urls.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/blog/urls.py b/apps/blog/urls.py deleted file mode 100644 index 57a3e7a..0000000 --- a/apps/blog/urls.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.conf.urls.defaults import * -from django.views.generic.list_detail import object_list -from django.views.generic.simple import redirect_to - -from blog.models import Entry - - - -urlpatterns = patterns('', - - (r'(?P<slug>[-\w]+)/(?P<page>\d+)/$', 'blog.views.entry_list_by_area'), - (r'(?P<page>\d+)/$', 'blog.views.entry_list'), - (r'(?P<slug>[-\w]+)/$', redirect_to, {'url': '/writing/%(slug)s/1/'}), - (r'', redirect_to, {'url': '/writing/1/'}), -) |