#197: Rename the default User Group "Delegierte" to "Delegierter"
This commit is contained in:
parent
4cef2762fe
commit
8ec3099620
@ -52,7 +52,7 @@
|
|||||||
"pk": 3,
|
"pk": 3,
|
||||||
"model": "auth.group",
|
"model": "auth.group",
|
||||||
"fields": {
|
"fields": {
|
||||||
"name": "Delegierte",
|
"name": "Delegierter",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
[
|
[
|
||||||
"can_see_agenda",
|
"can_see_agenda",
|
||||||
|
@ -406,7 +406,7 @@ def user_import(request):
|
|||||||
profile.save()
|
profile.save()
|
||||||
|
|
||||||
if type == 'delegate':
|
if type == 'delegate':
|
||||||
delegate = Group.objects.get(name='Delegierte')
|
delegate = Group.objects.get(name='Delegierter')
|
||||||
user.groups.add(delegate)
|
user.groups.add(delegate)
|
||||||
else:
|
else:
|
||||||
observer = Group.objects.get(name='Beobachter')
|
observer = Group.objects.get(name='Beobachter')
|
||||||
|
Loading…
Reference in New Issue
Block a user