Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
7e24f941
Commit
7e24f941
authored
May 23, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move DISABLE_INJECTION to lower level
parent
3a239aa7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
compile
bin/compile
+1
-1
init
bin/steps/django/init
+4
-1
injection
bin/steps/django/injection
+0
-6
No files found.
bin/compile
View file @
7e24f941
...
...
@@ -183,7 +183,7 @@ pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent
#
# See [`bin/steps/django`](django.html).
if
[
"
$NAME
"
=
"Python/Django"
]
&&
!
[
"
$DISABLE_INJECTION
"
]
;
then
if
[
"
$NAME
"
=
"Python/Django"
]
;
then
source
$BIN_DIR
/steps/django/init
fi
...
...
bin/steps/django/init
View file @
7e24f941
...
...
@@ -11,5 +11,8 @@ PROJECT=$(dirname $SETTINGS_FILE)
export
SETTINGS_FILE PROJECT
source
injection
if
[
"
$DISABLE_INJECTION
"
]
;
then
source
injection
fi
source
collectstatic
\ No newline at end of file
bin/steps/django/injection
View file @
7e24f941
...
...
@@ -12,12 +12,6 @@
# ## Sanity Checks
#
# 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
echo
"-----> Installing dj-database-url..."
pip
install
--use-mirrors
dj-database-url | indent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment