Move and rename a lot of stuff into kaehmy app
This commit is contained in:
+1
-9
@@ -2,17 +2,9 @@ import django_tables2 as tables
|
||||
from django.db.models import Count, Q
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from webapp.models import OhlhafvChallenge, KaehmyForm
|
||||
from webapp.models import OhlhafvChallenge
|
||||
|
||||
|
||||
class OhlhafvTable(tables.Table):
|
||||
class Meta:
|
||||
model = OhlhafvChallenge
|
||||
|
||||
|
||||
class KaehmyExportTable(tables.Table):
|
||||
class Meta:
|
||||
model = KaehmyForm
|
||||
exclude = ['text', 'messageparent_ptr', 'custom_role_name', 'custom_role_is_board', 'timestamp']
|
||||
|
||||
all_roles = tables.Column(verbose_name=_('Roles'), orderable=False)
|
||||
|
||||
Reference in New Issue
Block a user