From 410272e38b1c2010613ad9f0baf75cb114af8084 Mon Sep 17 00:00:00 2001 From: Dece Date: Thu, 26 Apr 2018 21:52:47 +0200 Subject: [PATCH] Style --- label/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/label/views.py b/label/views.py index 7036037..010a253 100644 --- a/label/views.py +++ b/label/views.py @@ -11,7 +11,7 @@ from label.tools import ( def artists_view(request): artists = Artist.objects.all() - context = { 'artists': artists } + context = {'artists': artists} return render(request, 'label/artists.html', context) @@ -23,7 +23,7 @@ def artist_view(request, slug): for release in releases: release.tag = get_catalog_tag_from_id(release.ident) - context = { 'artist': artist, 'releases': releases } + context = {'artist': artist, 'releases': releases} return render(request, 'label/artist.html', context) @@ -52,11 +52,11 @@ def release_view(request, tag): ident = get_id_from_catalog_tag(tag) release = get_object_or_404(Release, ident = ident) contribs = get_contribs(release.contributors.all()) - context = { 'release': release, 'contribs': contribs } + context = {'release': release, 'contribs': contribs} return render(request, 'label/release.html', context) def videos_view(request): videos = VideoClip.objects.order_by('-year', 'title') - context = { 'videos': videos } + context = {'videos': videos} return render(request, 'label/videos.html', context)