Mercurial > public > sg101
view messages/urls.py @ 816:97f8fab9b1a3
Tweaking the quoting algorithm a bit.
Trying to reduce trailing lines that are just ">".
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 10 Sep 2014 19:21:59 -0500 |
parents | 4a4fa174a0ec |
children | cf486a8e8b43 |
line wrap: on
line source
"""urls for the Messages application""" from django.conf.urls import patterns, url from django.views.generic.base import RedirectView urlpatterns = patterns('', url(r'^$', RedirectView.as_view(permanent=True, url='/messages/inbox/'), name='messages-index'), url(r'^inbox/$', 'messages.views.inbox', name='messages-inbox'), url(r'^compose/$', 'messages.views.compose', name='messages-compose'), url(r'^outbox/$', 'messages.views.outbox', name='messages-outbox'), url(r'^trash/$', 'messages.views.trash', name='messages-trash'), url(r'^options/$', 'messages.views.options', name='messages-options'), url(r'^delete/$', 'messages.views.delete', name='messages-delete'), url(r'^undelete/$', 'messages.views.undelete', name='messages-undelete'), url(r'^view/(\d+)/$', 'messages.views.view', name='messages-view'), url(r'^report/(\d+)/$', 'messages.views.report', name='messages-report'), )