From 3b7438fd3ad38b8ae60369d9dcfa0bbb626fd6a5 Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Wed, 25 Jul 2012 19:01:10 -0400 Subject: Removed apache deployement files from hyperkitty --- hyperkitty/apache/urls_production.py | 87 ------------------------------------ 1 file changed, 87 deletions(-) delete mode 100644 hyperkitty/apache/urls_production.py (limited to 'hyperkitty/apache/urls_production.py') diff --git a/hyperkitty/apache/urls_production.py b/hyperkitty/apache/urls_production.py deleted file mode 100644 index 3bb4a65..0000000 --- a/hyperkitty/apache/urls_production.py +++ /dev/null @@ -1,87 +0,0 @@ -from django.conf.urls.defaults import patterns, include, url -from django.views.generic.simple import direct_to_template -from gsoc.api import EmailResource, ThreadResource, SearchResource - -urlpatterns = patterns('', - # Account - url(r'^accounts/login/$', 'views.accounts.user_login', name='user_login'), - url(r'^accounts/logout/$', 'views.accounts.user_logout', name='user_logout'), - url(r'^accounts/profile/$', 'views.accounts.user_profile', name='user_profile'), - url(r'^accounts/register/$', 'views.accounts.user_registration', name='user_registration'), - - - # Index - url(r'^/$', 'views.pages.index', name='index'), - url(r'^$', 'views.pages.index', name='index'), - - # Archives - url(r'^archives/(?P.*@.*)/(?P\d{4})/(?P\d\d?)/(?P\d\d?)/$', - 'views.list.archives'), - url(r'^archives/(?P.*@.*)/(?P\d{4})/(?P\d\d?)/$', - 'views.list.archives'), - url(r'^archives/(?P.*@.*)/$', - 'views.list.archives'), - - # Threads - url(r'^thread/(?P.*@.*)/(?P.+)/$', - 'views.thread.thread_index'), - - - # Lists - url(r'^list/$', 'views.pages.index'), # Can I remove this URL? - url(r'^list/(?P.*@.*)/$', - 'views.list.list'), - - # Search Tag - url(r'^tag/(?P.*@.*)\/(?P.*)\/(?P\d+)/$', - 'views.list.search_tag'), - url(r'^tag/(?P.*@.*)\/(?P.*)/$', - 'views.list.search_tag'), - - # Search - # If page number is present in URL - url(r'^search/(?P.*@.*)\/(?P.*)\/(?P.*)\/(?P\d+)/$', - 'views.list.search_keyword'), - # Show the first page as default when no page number is present in URL - url(r'^search/(?P.*@.*)\/(?P.*)\/(?P.*)/$', - 'views.list.search_keyword'), - url(r'^search/(?P.*@.*)/$', - 'views.list.search'), - - - ### MESSAGE LEVEL VIEWS ### - # Vote a message - url(r'^message/(?P.*@.*)/(?P.+)/$', - 'views.message.index'), - - url(r'^vote/(?P.*@.*)/$', - 'views.message.vote'), - ### MESSAGE LEVEL VIEW ENDS ### - - - - ### THREAD LEVEL VIEWS ### - # Thread view page - url(r'^thread/(?P.*@.*)/(?P.+)/$', - 'views.thread.thread_index'), - - # Add Tag to a thread - url(r'^addtag/(?P.*@.*)\/(?P.*)/$', - 'views.thread.add_tag'), - ### THREAD LEVEL VIEW ENDS ### - - - # REST API - url(r'^api/$', 'views.api.api'), - url(r'^api/email\/(?P.*@.*)\/(?P.*)/', - EmailResource.as_view()), - url(r'^api/thread\/(?P.*@.*)\/(?P.*)/', - ThreadResource.as_view()), - url(r'^api/search\/(?P.*@.*)\/(?P.*)\/(?P.*)/', - SearchResource.as_view()), - - - # Social Auth - url(r'', include('social_auth.urls')), - -) -- cgit