forked from data.coop/membersystem
Compare commits
2 commits
dd33a90896
...
a71c706a39
Author | SHA1 | Date | |
---|---|---|---|
Benjamin Bach | a71c706a39 | ||
Benjamin Bach | f2fb72a2fe |
|
@ -2,24 +2,27 @@
|
|||
|
||||
from django.contrib import admin
|
||||
|
||||
from . import models
|
||||
from .models import Membership
|
||||
from .models import MembershipType
|
||||
from .models import SubscriptionPeriod
|
||||
from .models import WaitingListEntry
|
||||
|
||||
|
||||
@admin.register(models.Membership)
|
||||
@admin.register(Membership)
|
||||
class MembershipAdmin(admin.ModelAdmin):
|
||||
"""Admin for Membership model."""
|
||||
|
||||
|
||||
@admin.register(models.MembershipType)
|
||||
@admin.register(MembershipType)
|
||||
class MembershipTypeAdmin(admin.ModelAdmin):
|
||||
"""Admin for MembershipType model."""
|
||||
|
||||
|
||||
@admin.register(models.SubscriptionPeriod)
|
||||
@admin.register(SubscriptionPeriod)
|
||||
class SubscriptionPeriodAdmin(admin.ModelAdmin):
|
||||
"""Admin for SubscriptionPeriod model."""
|
||||
|
||||
|
||||
@admin.register(models.WaitingListEntry)
|
||||
@admin.register(WaitingListEntry)
|
||||
class WaitingListEntryAdmin(admin.ModelAdmin):
|
||||
"""Admin for WaitingList model."""
|
||||
|
|
Loading…
Reference in a new issue