Stripped personal data from development repository
Samo Penic
2019-02-20 83c3f647c35477564b77cbc5b36d37d793d5442a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from django.contrib import admin
 
# Register your models here.
 
from .models import Problem, ProblemGroup
 
 
class ProblemGroupAdmin(admin.ModelAdmin):
    list_display = ('title', 'problems_in_group', 'amount', 'problemhomegroup')
    list_filter = ('problemhomegroup',)
 
 
admin.site.register(Problem)
admin.site.register(ProblemGroup, ProblemGroupAdmin)