fix sensitive_dev missing

This commit is contained in:
Daniel Tsvetkov 2020-08-11 14:35:25 +02:00
parent 6b2d3fa439
commit 79b0556964
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1 @@
ADMIN_PASSWORD = "password"

View File

@ -3,7 +3,7 @@
name: Example # name of the model name: Example # name of the model
searchable: # list of columns that are searchable searchable: # list of columns that are searchable
- body - body
interits: # list of inheritable classes, each line is one of (Ownable|Datable) interits: # list of inheritable classes, each line is one of (Ownable)
- Ownable - Ownable
access: access:
- verb: all - verb: all

View File

@ -94,8 +94,13 @@ link_dev_oshipka() {
download_sensitive() { download_sensitive() {
if [ ! -f sensitive.py ]; then if [ ! -f sensitive.py ]; then
echo "File sensitive.py NOT FOUND" echo "File sensitive.py NOT FOUND"
if [ -f sensitive_dev.py ]; then
echo "Copying sensitive_dev for dev env"
cp sensitive_dev.py sensitive.py
else
exit 1; exit 1;
fi fi
fi
} }
init() { init() {