Move variables in check_job_status to prevent undeclared error
[ganeti_webmgr.git] / muddle / __init__.py
blob9d677e83f3427025860b8abb62e231d546154cf0
1 from django.conf import settings as django_settings
3 VERSION = '0.1'
4 MUDDLE_ROOT = __file__[__file__.rfind('/')]
6 def settings_processor(request):
7 """
8 settings_processor adds settings required by most pages
9 """
10 return {
11 'VERSION':VERSION,
12 'STATIC':'%s/muddle_static' % django_settings.SITE_ROOT,
13 'ROOT':django_settings.SITE_ROOT