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
|
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
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user