gremmie@1: """urls for the Messages application""" bgneal@574: from django.conf.urls import patterns, url bgneal@801: from django.views.generic.base import RedirectView bgneal@425: bgneal@801: urlpatterns = patterns('', bgneal@429: url(r'^$', bgneal@801: RedirectView.as_view(permanent=True, url='/messages/inbox/'), bgneal@429: name='messages-index'), bgneal@801: url(r'^inbox/$', bgneal@801: 'messages.views.inbox', bgneal@429: name='messages-inbox'), bgneal@801: # url(r'^compose/$', bgneal@801: # 'messages.views.compose', bgneal@801: # name='messages-compose'), bgneal@801: url(r'^outbox/$', bgneal@801: 'messages.views.outbox', bgneal@429: name='messages-outbox'), bgneal@801: # url(r'^trash/$', bgneal@801: # 'messages.views.trash', bgneal@801: # name='messages-trash'), bgneal@801: # url(r'^options/$', bgneal@801: # 'messages.views.options', bgneal@801: # name='messages-options'), bgneal@801: # url(r'^delete/$', bgneal@801: # 'messages.views.delete', bgneal@801: # name='messages-delete'), bgneal@801: # url(r'^undelete/$', bgneal@801: # 'messages.views.undelete', bgneal@801: # name='messages-undelete'), bgneal@801: # url(r'^view/(\d+)/$', bgneal@801: # 'messages.views.view', bgneal@801: # name='messages-view'), bgneal@801: # url(r'^report/(\d+)/$', bgneal@801: # 'messages.views.report', bgneal@801: # name='messages-report'), gremmie@1: )