gid='www-data'
# stating apps
-pip install -U django==1.8.18 django-registration-redux
pip uninstall -y south
-pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
+pip install -U django==1.8.18 django-registration-redux djangorestframework==3.6.4
pip install django-debug-toolbar==1.6
+pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
pip install -e git+https://github.com/Parisson/saved_searches.git@dj1.8#egg=saved_searches-2.0.0-beta
# waiting for other network services
wsgi=$app'/wsgi.py'
# stating apps
-pip install -U django==1.8.18
pip uninstall -y south
-# pip install django-environ redis
-pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
+pip install -U django==1.8.18 django-registration-redux djangorestframework==3.6.4
pip install django-debug-toolbar==1.6
+pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
pip install -e git+https://github.com/Parisson/saved_searches.git@dj1.8#egg=saved_searches-2.0.0-beta
'django_extensions',
'telemeta',
'timeside.player',
- #'timeside.server',
+ # 'timeside.server',
'jsonrpc',
'sorl.thumbnail',
'timezones',
-Subproject commit 3dc154a0e6ebf7e5892bf15a7d5364a06d5b47fb
+Subproject commit 7ddf05deaa3f913c5e591d6875919bde985a1778
def delete_item_data(self, public_id):
# public_id is the public_id of an item
for file in self.files:
- if public_id in file:
- os.remove(self.dir + os.sep + file)
+ path = self.dir + os.sep + file
+ if public_id in file and os.path.exists(path):
+ os.remove(path)
def write_bin(self, data, file):
path = self.dir + os.sep + file
url(r'^', include('jqchat.urls')),
# Timeside
- url(r'^timeside/', include('timeside.server.urls')),
+ # url(r'^timeside/', include('timeside.server.urls')),
]