Delete zbytky po starém způsobu řešení meníčka
This commit is contained in:
parent
137ad8863c
commit
27776130e0
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
|||
from django import template
|
||||
|
||||
from seminar.models import Rocnik
|
||||
|
||||
register = template.Library()
|
||||
|
||||
@register.inclusion_tag('results.html')
|
||||
def seminar_rocniky(parser, token):
|
||||
return {
|
||||
'rocniky': Rocnik.objects.all()
|
||||
}
|
||||
|
||||
@register.simple_tag
|
||||
def aktualni_rocniky():
|
||||
return Rocnik.objects.all()
|
Loading…
Reference in a new issue