8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-12 21:06:27 +00:00

Remove 5 indentation views.py

This commit is contained in:
chirac 2018-07-29 17:13:36 +02:00 committed by Gabriel Detraz
parent 8abff4c35c
commit 98c1e8cfe1

View file

@ -62,12 +62,12 @@ def index(request):
twitter_account_name = HomeOption.get_cached_value('twitter_account_name') twitter_account_name = HomeOption.get_cached_value('twitter_account_name')
asso_name = AssoOption.get_cached_value('pseudo') asso_name = AssoOption.get_cached_value('pseudo')
return form({ return form({
'services_urls': services, 'services_urls': services,
'twitter_url': twitter_url, 'twitter_url': twitter_url,
'twitter_account_name' : twitter_account_name, 'twitter_account_name' : twitter_account_name,
'facebook_url': facebook_url, 'facebook_url': facebook_url,
'asso_name': asso_name 'asso_name': asso_name
}, 're2o/index.html', request) }, 're2o/index.html', request)
@cache_page(7 * 24 * 60 * 60) @cache_page(7 * 24 * 60 * 60)