cleanup in info/

This commit is contained in:
Stephan Telling 2018-03-04 15:56:11 +01:00
parent f20695094e
commit d20a964793
3 changed files with 19 additions and 20 deletions

View file

@ -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)

View file

@ -1,5 +1,3 @@
from django.apps import AppConfig from django.apps import AppConfig

View file

@ -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)