2015-01-25 12:10:17 +01:00
|
|
|
"""
|
|
|
|
This module defines the URL patterns for mailbox and mail address related
|
|
|
|
views.
|
|
|
|
|
|
|
|
"""
|
|
|
|
from __future__ import absolute_import, unicode_literals
|
|
|
|
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from .views import (
|
2015-01-25 12:49:31 +01:00
|
|
|
ChangeMailboxPassword,
|
2015-01-25 12:10:17 +01:00
|
|
|
CreateMailbox,
|
|
|
|
)
|
|
|
|
|
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
|
|
|
url(r'^(?P<package>\d+)/mailbox/create$',
|
|
|
|
CreateMailbox.as_view(), name='create_mailbox'),
|
2015-01-25 12:49:31 +01:00
|
|
|
url(r'^(?P<package>\d+)/mailbox/(?P<slug>[\w0-9]+)/setpassword$',
|
|
|
|
ChangeMailboxPassword.as_view(), name='change_mailbox_password'),
|
2015-01-25 12:10:17 +01:00
|
|
|
)
|