summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roadmap/admin.py22
1 files changed, 16 insertions, 6 deletions
diff --git a/roadmap/admin.py b/roadmap/admin.py
index 3621aaf..6847123 100644
--- a/roadmap/admin.py
+++ b/roadmap/admin.py
@@ -1,44 +1,54 @@
from django.contrib import admin
from roadmap.models import (
- FixVersion,
- StatusStyle,
- Status,
+ FixVersion,
+ StatusStyle,
+ Status,
Card,
- CardType,
- Component,
+ CardType,
+ Component,
Project,
- Resolution,
+ Resolution,
RoadmapRelease,
Milestone
)
import reversion
+
class CardAdmin(reversion.VersionAdmin):
pass
+
class CardTypeAdmin(reversion.VersionAdmin):
pass
+
class StatusAdmin(reversion.VersionAdmin):
pass
+
class FixVersionAdmin(reversion.VersionAdmin):
pass
+
class StatusStyleAdmin(reversion.VersionAdmin):
pass
+
class ComponentAdmin(reversion.VersionAdmin):
pass
+
class ResolutionAdmin(reversion.VersionAdmin):
pass
+
class ProjectAdmin(reversion.VersionAdmin):
pass
+
class MilestoneAdmin(reversion.VersionAdmin):
pass
+
admin.site.register(FixVersion, FixVersionAdmin)
admin.site.register(StatusStyle, StatusStyleAdmin)
admin.site.register(Status, StatusAdmin)