Added urlRoot for require

This commit is contained in:
Fergal Moran
2013-08-06 17:30:10 +01:00
parent 2029ed0935
commit dbf5e610b9
3 changed files with 5 additions and 3 deletions

View File

@@ -51,8 +51,7 @@ CACHE_ROOT = localsettings.CACHE_ROOT
if DEBUG:
STATIC_URL = '/static/'
else:
STATIC_URL = localsettings.STATIC_URL if hasattr(localsettings,
'STATIC_URL') else 'http://static.deepsouthsounds.com/'
STATIC_URL = localsettings.STATIC_URL if hasattr(localsettings, 'STATIC_URL') else 'http://static.deepsouthsounds.com/'
if DEBUG:
MEDIA_URL = '/media/'

View File

@@ -31,7 +31,10 @@ Werkzeug
psycopg2
templated_emails
htmlmin
mimeparse
django-htmlmin
tastypie-msgpack
django-jenkins
gunicorn
django-dbbackup
dropbox

View File

@@ -1,5 +1,5 @@
requirejs.config({
baseUrl: 'static/js',
baseUrl: com.podnoms.settings.staticUrl + 'js',
urlArgs: com.podnoms.settings.urlArgs,
waitSeconds: 200,
paths: {