Commit 014d6f17 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Display the correct models in the admin

parent 3920faf4
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import Group as AuthGroup
from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin
......@@ -27,9 +28,13 @@ class ClientAdmin(UserAdmin):
list_filter = (TypeFilter,)
class GroupAdmin(PolymorphicChildModelAdmin):
base_model = Group # Explicitly set here!
show_in_index = True # makes child model admin visible in main admin site
# define custom features here
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