From 1a959baa728e1d59dc695a39cb99b8bae7c08129 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 23 Dec 2013 21:37:27 -0600 Subject: [PATCH] fixed problem with static_version in admin, issue 1832 --- VERSION | 2 +- applications/admin/models/0.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 137d2c06..233d8829 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2013.12.20.15.08.47 +Version 2.8.2-stable+timestamp.2013.12.23.21.36.22 diff --git a/applications/admin/models/0.py b/applications/admin/models/0.py index 669ffd27..8ba7420e 100644 --- a/applications/admin/models/0.py +++ b/applications/admin/models/0.py @@ -45,4 +45,4 @@ if 'adminLanguage' in request.cookies and not (request.cookies['adminLanguage'] T.force(request.cookies['adminLanguage'].value) #set static_version -response.static_version = '2.7.3' +response.static_version = open('VERSION').read().split(' ',1)[1].split('-')[0]