diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-20 16:37:07 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-20 16:37:07 -0400 |
commit | baf14633cbd8af6413290ccae5765aefd2a278a5 (patch) | |
tree | 6fcdf0e488d707ce373d46a50f543364ea7bf3b8 /bn_django/journal/urls.py | |
parent | 4b5b2769679515a54d3287077821421dce613432 (diff) | |
download | bnewnet-baf14633cbd8af6413290ccae5765aefd2a278a5.tar.gz bnewnet-baf14633cbd8af6413290ccae5765aefd2a278a5.zip |
remove old django folder
Diffstat (limited to 'bn_django/journal/urls.py')
-rw-r--r-- | bn_django/journal/urls.py | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/bn_django/journal/urls.py b/bn_django/journal/urls.py deleted file mode 100644 index 4b50f40..0000000 --- a/bn_django/journal/urls.py +++ /dev/null @@ -1,41 +0,0 @@ -from django.conf.urls.defaults import * -from django.conf import settings - -from models import Entry, MicroEntry -from feeds import feed_list - -urlpatterns = patterns('django.views.generic.list_detail', - (r'^$', 'object_list', - dict(queryset=Entry.objects.order_by('-date'), - paginate_by=35, allow_empty=False)), - (r'^entries/$', 'object_list', - dict(queryset=Entry.objects.order_by('-date'), - paginate_by=35, allow_empty=False)), - (r'^microentries/$', 'object_list', - dict(queryset=MicroEntry.objects.order_by('-date'), - paginate_by=35, allow_empty=False)), - (r'^microentries/(?P<object_id>\d+)/$', 'object_detail', - dict(queryset=Entry.objects.order_by('-date'))), - (r'^entries/(?P<slug>[\d\w-]+)/$', 'object_detail', - dict(queryset=Entry.objects.order_by('-date'))), -) - -urlpatterns += patterns('', - (r'^rss/(?P<url>.*)/$','django.contrib.syndication.views.feed', - {'feed_dict':feed_list}) -) - -#urlpatterns += patterns('django.views.generic.date_based', - #(r'^entries/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[\d\w-]+)/$', 'object_detail', - #dict(queryset=Entry.objects.all(), date_field='date')), - #(r'^entries/(?P<year>\d{4})/(?P<month>\d{2})/$', 'archive_month', - #dict(queryset=Entry.objects.all(), date_field='date')), - #(r'^entries/(?P<year>\d{4})/$', 'archive_year', - #dict(queryset=Entry.objects.all(), date_field='date')), - #(r'^microentries/(?P<year>\d{4])/(?P<month>\d{2})/(?P<day>\d{2})/(?P<object_id>\d+)/$', 'object_detail', - #dict(queryset=MicroEntry.objects.all())), - #(r'^microentries/(?P<year>\d{4})/(?P<month>\d{2})/$', 'archive_month', - #dict(queryset=MicroEntry.objects.all())), - #(r'^microentries/(?P<year>\d{4])/$', 'archive_year', - #dict(queryset=MicroEntry.objects.all())), -#) |