diff options
Diffstat (limited to 'app/unused_apps/projects/urls.py')
-rw-r--r-- | app/unused_apps/projects/urls.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/unused_apps/projects/urls.py b/app/unused_apps/projects/urls.py deleted file mode 100644 index 8e56b16..0000000 --- a/app/unused_apps/projects/urls.py +++ /dev/null @@ -1,29 +0,0 @@ -from django.conf.urls import url -from django.views.generic import ListView -from projects.models.base import Project - -from . import views - -app_name = "project" - -urlpatterns = [ - url( - r'data/(?P<id>\d+)/$', - views.data_json - ), - url( - r'gifs/(?P<slug>[-\w]+)/$', - views.gif_detail - ), - url( - r'(?P<slug>[-\w]+)/$', - views.detail - ), - url( - r'^$', - ListView.as_view( - queryset=Project.objects.filter(status__exact=1).order_by('-pub_date'), - template_name="archives/projects.html", - ) - ), -] |