fnp
/
fnpdjango.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deploy: Add root manage.py helper script, use fabric.context_managers.settings instea...
[fnpdjango.git]
/
fnpdjango
/
deploy
/
templates
/
manage.py.template
diff --git a/fnpdjango/deploy/templates/manage.py.template
b/fnpdjango/deploy/templates/manage.py.template
new file mode 100644
(file)
index 0000000..
8f9c223
--- /dev/null
+++ b/
fnpdjango/deploy/templates/manage.py.template
@@ -0,0
+1,3
@@
+#!/bin/bash
+# Simple wrapper for running current manage.py with the right Python.
+exec %(app_path)s/ve/bin/python %(full_django_root)s/manage.py "$@"