diff options
author | Alban Gruin | 2018-04-15 15:25:16 +0200 |
---|---|---|
committer | Alban Gruin | 2018-04-15 15:27:54 +0200 |
commit | 1934cdb6093a96269dc3ea911776825768fe5ae7 (patch) | |
tree | d31ddb1fd50b6198ad4efef98a1720a4bc037bd8 /views.py | |
parent | 06597b0a1760cc88048726592114a08d8bc11aa9 (diff) |
Légères corrections PEP8
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ if connection.vendor == "postgresql": from django.contrib.postgres.aggregates import ArrayAgg from django.db.models.expressions import RawSQL + def index(request): years = Year.objects.order_by("name") return render(request, "index.html", {"elements": years}) |