diff --git a/bin/steps/django/init b/bin/steps/django/init
index 0915ce16f22c246c5d7404bb6f6d3f29d4fc4ed9..947f866df47a6b0c080d05260704ff5c44519519 100755
--- a/bin/steps/django/init
+++ b/bin/steps/django/init
@@ -1,2 +1,15 @@
+#!/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