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
searchable: # list of columns that are searchable
- 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
access:
- verb: all

View File

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