diff options
author | csitifr <csitifr@gmail.com> | 2012-05-28 18:40:43 +0530 |
---|---|---|
committer | csitifr <csitifr@gmail.com> | 2012-05-28 18:40:43 +0530 |
commit | f28648fce9a224b6f4c3a24cfaf4b29082dbb775 (patch) | |
tree | b15ab0641c907405928c7997d3bc0a3f2c1d52d9 /demo | |
parent | 15c2f2561c23a656d792003b089e28ecc500b720 (diff) | |
download | gnowsys-f28648fce9a224b6f4c3a24cfaf4b29082dbb775.tar.gz |
Relation can be now saved and viewed hierachy wise.Attribute does not get saved in duplicate
Diffstat (limited to 'demo')
-rw-r--r-- | demo/settings.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demo/settings.py b/demo/settings.py index 77296fb8..96de64f0 100644 --- a/demo/settings.py +++ b/demo/settings.py @@ -78,8 +78,10 @@ DATABASES = {'default': STATIC_URL = '/static/' MEDIA_URL = '/static' -MEDIA_ROOT = '/static' +#MEDIA_ROOT = '/static' +MEDIA_ROOT = os.path.join(os.path.dirname(__file__), '../gstudio/static') +GSTUDIO_UPLOAD_TO = 'img/' ADMIN_MEDIA_PREFIX = STATIC_URL + "grappelli/" @@ -157,7 +159,7 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.sites', 'mptt', - # 'reversion', + 'reversion', 'tagging', 'django_xmlrpc', 'grappelli.dashboard', |