forked from data.coop/membersystem
Compare commits
No commits in common. "a71c706a392d8f9b8a4d5facb29d3e9d087f4815" and "dd33a90896a9629e897b9ec99ae483eb1f6f10b0" have entirely different histories.
a71c706a39
...
dd33a90896
|
@ -2,27 +2,24 @@
|
|||
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import Membership
|
||||
from .models import MembershipType
|
||||
from .models import SubscriptionPeriod
|
||||
from .models import WaitingListEntry
|
||||
from . import models
|
||||
|
||||
|
||||
@admin.register(Membership)
|
||||
@admin.register(models.Membership)
|
||||
class MembershipAdmin(admin.ModelAdmin):
|
||||
"""Admin for Membership model."""
|
||||
|
||||
|
||||
@admin.register(MembershipType)
|
||||
@admin.register(models.MembershipType)
|
||||
class MembershipTypeAdmin(admin.ModelAdmin):
|
||||
"""Admin for MembershipType model."""
|
||||
|
||||
|
||||
@admin.register(SubscriptionPeriod)
|
||||
@admin.register(models.SubscriptionPeriod)
|
||||
class SubscriptionPeriodAdmin(admin.ModelAdmin):
|
||||
"""Admin for SubscriptionPeriod model."""
|
||||
|
||||
|
||||
@admin.register(WaitingListEntry)
|
||||
@admin.register(models.WaitingListEntry)
|
||||
class WaitingListEntryAdmin(admin.ModelAdmin):
|
||||
"""Admin for WaitingList model."""
|
||||
|
|
Loading…
Reference in a new issue