Skip to content
Snippets Groups Projects
Commit 3a239aa7 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

django dispatch

parent 0e1ae7a7
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Reject a Django app that appears to be packaged incorrectly.
if [ -f settings.py ]; then
echo " ! Django app must be in a package subdirectory"
exit 1
fi
SETTINGS_FILE=$(find . -maxdepth 2 -type f -name 'settings.py' | head -1)
PROJECT=$(dirname $SETTINGS_FILE)
export SETTINGS_FILE PROJECT
source injection
source collectstatic
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment