implement mail address deletion
- implement managemails.views.DeleteMailAddress - add get_context_data to AddMailAddress to add customer to template context - add URL pattern 'delete_mailaddress' to managemails.urls - add template hostingpackages/customerhostingpackage_detail.html - add entry to changelog
This commit is contained in:
parent
af27400077
commit
bebcad8c86
4 changed files with 71 additions and 0 deletions
|
@ -11,6 +11,7 @@ from .views import (
|
|||
AddMailAddress,
|
||||
ChangeMailboxPassword,
|
||||
CreateMailbox,
|
||||
DeleteMailAddress,
|
||||
)
|
||||
|
||||
urlpatterns = patterns(
|
||||
|
@ -21,4 +22,7 @@ urlpatterns = patterns(
|
|||
ChangeMailboxPassword.as_view(), name='change_mailbox_password'),
|
||||
url(r'^(?P<package>\d+)/mailaddress/(?P<domain>[\w0-9-.]+)/create$',
|
||||
AddMailAddress.as_view(), name='add_mailaddress'),
|
||||
url(r'^(?P<package>\d+)/mailaddress/(?P<domain>[\w0-9-.]+)/(?P<pk>\d+)'
|
||||
r'/delete$',
|
||||
DeleteMailAddress.as_view(), name='delete_mailaddress'),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue