Commit 11d4c64f authored by marc's avatar marc
Browse files

change autodelete to False and add sample_set_fix button for admin (to remove after update)

parent bc7153f4
...@@ -4,7 +4,7 @@ import defs ...@@ -4,7 +4,7 @@ import defs
from gluon import current from gluon import current
# AUTODELETE should be set to False before any maintenance operation on the DB # AUTODELETE should be set to False before any maintenance operation on the DB
AUTODELETE = True AUTODELETE = False
# Length of the upload field # Length of the upload field
LENGTH_UPLOAD = 400 LENGTH_UPLOAD = 400
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</br>Database maintenance: </br>Database maintenance:
<a class="button" href="/vidjil/appadmin/index">administration</a> <a class="button" href="/vidjil/appadmin/index">administration</a>
<a class="button" onclick="db.call('admin/repair_missing_files');">fix missing files</a> <a class="button" onclick="db.call('admin/repair_missing_files');">fix missing files</a>
<a class="button" onclick="db.call('admin/sample_set_fixer');">fix sample set</a>
<a class="button" onclick="db.call('admin/repair');">repair db</a> <a class="button" onclick="db.call('admin/repair');">repair db</a>
<a class="button" onclick="db.call('admin/make_backup');">make backup</a> <a class="button" onclick="db.call('admin/make_backup');">make backup</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment