Commits

Doug Tyler committed 7ad8280

Fix PriorityAdmin

Comments (0)

Files changed (1)

user_stories/stories/admin.py

 from django.contrib.auth.models import User
 from django.contrib.sites.models import Site
 from django.contrib.auth.models import Group
+
 from user_stories.stories.models import Role, Priority, UserStory
 
 
-class PriorityInline(admin.TabularInline):
-    model = Priority
-    extra = 1
+# class PriorityInline(admin.TabularInline):
+#     model = Priority
+#     extra = 1
 
 
 class PriorityAdmin(admin.ModelAdmin):
-    inlines = [PriorityInline]
+    # inlines = [PriorityInline]
+    list_display = ('name', 'value')
 
 
 admin.site.register(Role)