Commit 87f8a700 authored by BERJON Matthieu's avatar BERJON Matthieu

Update of the webapp list order

I ordered the list of the apps by descending creation date.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent ebc63c6d
......@@ -29,6 +29,10 @@ class WebappList(ListView):
paginate_by = 10
template_name = 'webapp_list.html'
def get_queryset(self):
queryset = Webapp.objects.all().order_by('-created_at')
return queryset
class WebappDetail(DetailView):
model = Webapp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment