fix sensitive_dev missing
This commit is contained in:
parent
6b2d3fa439
commit
79b0556964
1
bootstrap/sensitive_dev.py
Normal file
1
bootstrap/sensitive_dev.py
Normal file
@ -0,0 +1 @@
|
||||
ADMIN_PASSWORD = "password"
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user