Commit 605c90b2 authored by Mindiell's avatar Mindiell
Browse files

Groups are no more directly updated, linked to GroupTypes

parent 0dc62a24
......@@ -12,7 +12,12 @@ class OrganizationAdmin(admin.ModelAdmin):
return qs.filter(id__in=user_orgs)
class GroupInline(admin.TabularInline):
model = Group
class GroupTypeAdmin(admin.ModelAdmin):
inlines = [GroupInline]
def get_queryset(self, request):
qs = super(GroupTypeAdmin, self).get_queryset(request)
......@@ -73,5 +78,5 @@ class CategoryAdmin(admin.ModelAdmin):, OrganizationAdmin), GroupTypeAdmin), GroupAdmin), GroupAdmin), CategoryAdmin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment