diff options
Diffstat (limited to 'apps/projects/urls.py')
-rw-r--r-- | apps/projects/urls.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/projects/urls.py b/apps/projects/urls.py deleted file mode 100644 index 14722a8..0000000 --- a/apps/projects/urls.py +++ /dev/null @@ -1,17 +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,direct_to_template -from django.views.generic import list_detail - -from projects.models.base import Project - -projects = { - 'queryset': Project.objects.filter(status__exact=1).order_by('-pub_date'), -} - -urlpatterns = patterns('', - (r'data/(?P<id>\d+)/$', 'projects.views.data_json'), - (r'(?P<slug>[-\w]+)/$', 'projects.views.detail'), - (r'^$',list_detail.object_list, dict(projects, template_name='archives/projects.html')), -) - |