Added the task to auto update corp and alliance info

This commit is contained in:
Raynaldo Rivera
2014-11-01 23:07:20 -07:00
parent 763b3c8230
commit 884d39c148
10 changed files with 276 additions and 20 deletions

View File

@@ -7,6 +7,7 @@ def bootstrap_permissions():
ct = ContentType.objects.get_for_model(User)
Permission.objects.get_or_create(codename="group_management", content_type=ct, name="group_management")
Permission.objects.get_or_create(codename="jabber_broadcast", content_type=ct, name="jabber_broadcast")
Permission.objects.get_or_create(codename="human_resources", content_type=ct, name="human_resources")
def add_member_permission(user, permission):