minule jsem ty změny zapomněla uložit
This commit is contained in:
parent
6b9d9f35a7
commit
04c4c77c48
1 changed files with 0 additions and 4 deletions
|
@ -245,13 +245,9 @@ def spravne_novinky(request):
|
|||
|
||||
class TitulniStranaView(generic.ListView):
|
||||
template_name='seminar/titulnistrana.html'
|
||||
<<<<<<< HEAD
|
||||
queryset = Novinky.objects.order_by('-datum')[:2]
|
||||
=======
|
||||
|
||||
def get_queryset(self):
|
||||
return spravne_novinky(self.request)[:5]
|
||||
>>>>>>> data_migrations
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(TitulniStranaView, self).get_context_data(**kwargs)
|
||||
|
|
Loading…
Reference in a new issue