view_on_site = False u Organizátora a Řešitele
This commit is contained in:
parent
cdfd7e6970
commit
37d73a311f
1 changed files with 2 additions and 0 deletions
|
@ -108,11 +108,13 @@ class OsobaAdmin(admin.ModelAdmin):
|
||||||
@admin.register(m.Organizator)
|
@admin.register(m.Organizator)
|
||||||
class OrganizatorAdmin(admin.ModelAdmin):
|
class OrganizatorAdmin(admin.ModelAdmin):
|
||||||
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
||||||
|
view_on_site = False
|
||||||
|
|
||||||
@admin.register(m.Resitel)
|
@admin.register(m.Resitel)
|
||||||
class ResitelAdmin(admin.ModelAdmin):
|
class ResitelAdmin(admin.ModelAdmin):
|
||||||
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
||||||
ordering = ('osoba__jmeno','osoba__prijmeni')
|
ordering = ('osoba__jmeno','osoba__prijmeni')
|
||||||
|
view_on_site = False
|
||||||
|
|
||||||
@admin.register(m.Problem)
|
@admin.register(m.Problem)
|
||||||
class ProblemAdmin(PolymorphicParentModelAdmin):
|
class ProblemAdmin(PolymorphicParentModelAdmin):
|
||||||
|
|
Loading…
Reference in a new issue