mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Fix order
This commit is contained in:
parent
9dfd78b322
commit
342fec55db
@ -60,7 +60,7 @@ class ProjectListView(ListView):
|
|||||||
paginate_by = 50 # amount of items on screen
|
paginate_by = 50 # amount of items on screen
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
return Project.objects.order_by('-date_created')
|
return Project.objects.order_by("-date_created")
|
||||||
|
|
||||||
def get_context_data(self, *args, **kwargs):
|
def get_context_data(self, *args, **kwargs):
|
||||||
data = super().get_context_data(**kwargs)
|
data = super().get_context_data(**kwargs)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user