cleanup in info/
This commit is contained in:
parent
f20695094e
commit
d20a964793
|
@ -1,5 +1,8 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from .models import *
|
from .models import (
|
||||||
|
InfoItem,
|
||||||
|
InfoCategory
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@admin.register(InfoItem)
|
@admin.register(InfoItem)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -78,5 +78,3 @@ class InfoItem(CampRelatedModel):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return '%s (%s)' % (self.headline, self.category)
|
return '%s (%s)' % (self.headline, self.category)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue