You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
701 B
Python
18 lines
701 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.conf.urls import url
|
|
|
|
from nano.privmsg import views
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^add$', views.add_pm, name='add_pm'),
|
|
url(r'^(?P<msgid>[1-9][0-9]*)/archive$', views.move_to_archive, name='archive_pm'),
|
|
url(r'^(?P<msgid>[1-9][0-9]*)/delete$', views.delete, name='delete_pm'),
|
|
#url(r'^(?:(?P<action>(archive|sent))/?)?$', views.show_pms, name='show_pms'),
|
|
url(r'^archive/$', views.show_pm_archived, name='show_archived_pms'),
|
|
url(r'^sent/$', views.show_pm_sent, name='show_sent_pms'),
|
|
url(r'^$', views.show_pm_received, name='show_pms'),
|
|
#url(r'^$', views.show_pms, {u'action': u'received'}, name='show_pms'),
|
|
]
|