Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
11d4c64f
Commit
11d4c64f
authored
Jan 07, 2016
by
marc
Browse files
change autodelete to False and add sample_set_fix button for admin (to remove after update)
parent
bc7153f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/db.py
View file @
11d4c64f
...
...
@@ -4,7 +4,7 @@ import defs
from
gluon
import
current
# AUTODELETE should be set to False before any maintenance operation on the DB
AUTODELETE
=
Tru
e
AUTODELETE
=
Fals
e
# Length of the upload field
LENGTH_UPLOAD
=
400
...
...
server/web2py/applications/vidjil/views/admin/index.html
View file @
11d4c64f
...
...
@@ -8,6 +8,7 @@
</br>
Database maintenance:
<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/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/make_backup');"
>
make backup
</a>
...
...
Mathieu Giraud
@magiraud
mentioned in commit
a056a0e9
·
Mar 29, 2017
mentioned in commit
a056a0e9
mentioned in commit a056a0e9a4326874fe81609d82ee521966ed9359
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment