Ajout création/modification groupes K-Fêt

This commit is contained in:
Aurélien Delobelle 2016-08-21 05:51:55 +02:00
parent e64a443fb3
commit 8329c0b511
9 changed files with 1043 additions and 3 deletions

View file

@ -42,6 +42,12 @@ urlpatterns = [
# Account - Groups
url(r'^accounts/groups$', views.account_group,
name = 'kfet.account.group'),
url(r'^accounts/groups/new$',
permission_required('kfet.manage_perms')(views.AccountGroupCreate.as_view()),
name = 'kfet.account.group.create'),
url(r'^accounts/groups/(?P<pk>\d+)/edit$',
permission_required('kfet.manage_perms')(views.AccountGroupUpdate.as_view()),
name = 'kfet.account.group.update'),
# -----
# Checkout urls