]> git.parisson.com Git - timeside.git/commitdiff
cleanup conf
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 6 May 2014 22:42:07 +0000 (00:42 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 6 May 2014 22:42:07 +0000 (00:42 +0200)
timeside/server/sandbox/settings.py
timeside/server/views.py

index 2318f5f3b554085b468df7008f0b264b8fe07b5e..1cd5c1066a8d392ee9799ea54aa46c422bba52ce 100644 (file)
@@ -31,11 +31,11 @@ ALLOWED_HOSTS = []
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
 # although not all choices may be available on all operating systems.
 # In a Windows environment this must be set to your system time zone.
-TIME_ZONE = 'America/Chicago'
+TIME_ZONE = 'Europe/Paris'
 
 # Language code for this installation. All choices can be found here:
 # http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = 'en-us'
+LANGUAGE_CODE = 'fr-fr'
 
 SITE_ID = 1
 
@@ -131,7 +131,6 @@ INSTALLED_APPS = (
     # 'django.contrib.admindocs',
     'django_extensions',
     'south',
-    # 'timeside',
     'timeside.server',
     'timeside.player',
     'rest_framework',
index 141b76f064c0bc5e829161e70704daf75a8fe31d..f371e19659aa224de5b94c9121cbf45f0f0d20cf 100644 (file)
@@ -99,4 +99,6 @@ class ResultGrapherView(View):
 
     def get(self, request, *args, **kwargs):
         result = Result.objects.get(pk=kwargs['pk'])
-        return HttpResponse(stream_from_file(result.file.path), mimetype='image/png')
+        return HttpResponse(stream_from_file(result.file.path), 
+                            mimetype='image/png')
+