import os.path
import logging
+import subprocess
logger = logging.getLogger('myslice')
import myslice.components as components
-
-
# import djcelery
# djcelery.setup_loader()
except:
building=True
+if not config.myslice.portal_version:
+ try:
+ PORTAL_VERSION = subprocess.check_output(["git", "describe"])
+ except:
+ PORTAL_VERSION = 'not using git'
+print 'x'*100
+print PORTAL_VERSION
+print 'x'*100
+logger.debug('PORTAL_VERSION = ',PORTAL_VERSION)
# DEBUG
if config.myslice.debug :
DEBUG = True
+ INTERNAL_IPS = ("127.0.0.1","132.227.84.195","132.227.78.191","132.227.84.191")
else :
DEBUG = False
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'portal',
- #SLA
- #'sla',
+ #'debug_toolbar',
]
# with django-1.7 we leave south and use native migrations
# managing database migrations