Jan Dittberner
2e4efe7839
- implement managemails.forms.ChangeMailboxPasswordForm - extract code for determining hosting package and customer from URL into HostingPackageAndCustomerMixin - implement managemails.views.ChangeMailboxPassword - add new URL pattern 'change_mailbox_password' to managemails.urls - add template managemails/mailbox_setpassword.html - link from template hostingpackages/customerhostingpackage_detail.html to change_mailbox_password - add german translation for new strings - document new feature in changelog
21 lines
543 B
Python
21 lines
543 B
Python
"""
|
|
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 (
|
|
ChangeMailboxPassword,
|
|
CreateMailbox,
|
|
)
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^(?P<package>\d+)/mailbox/create$',
|
|
CreateMailbox.as_view(), name='create_mailbox'),
|
|
url(r'^(?P<package>\d+)/mailbox/(?P<slug>[\w0-9]+)/setpassword$',
|
|
ChangeMailboxPassword.as_view(), name='change_mailbox_password'),
|
|
)
|