-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from flaeppe/develop
Local settings improvements, together with debug toolbar fixes
- Loading branch information
Showing
10 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
.PHONY: test clean | ||
.PHONY: test clean install_requirements setup lint | ||
|
||
help: | ||
@echo 'Available targets:' | ||
@echo ' lint Checks the codebase against PEP8 style convention.' | ||
@echo ' test Runs all the tests in the project.' | ||
@echo ' clean Removes *.pyc files.' | ||
@echo ' install_requirements Installs local requirements for the project.' | ||
@echo ' setup Installs requirements and runs project tests.' | ||
|
||
lint: | ||
cd src && flake8 --exclude=migrations,settings . | ||
|
||
test: | ||
cd src && python manage.py test --settings=foobar.settings.test | ||
|
||
install_requirements: | ||
pip install -r requirements/local.txt | ||
|
||
setup: install_requirements test | ||
|
||
clean: | ||
find . -name "*.pyc" | xargs rm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Django==1.10.5 | ||
-r requirements/common.txt | ||
-r requirements/production.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
django-bananas==1.0.8 | ||
django-enumfields==0.8.2 | ||
django-factory-boy==0.1.6 | ||
django-model-utils==2.2 | ||
git+https://github.com/disqus/django-bitfield.git@306ba5#egg=django-bitfield | ||
git+https://github.com/kjagiello/django-money.git@45ea5e#egg=django-money | ||
djangorestframework==3.5.3 | ||
django-rest-swagger==2.1.1 | ||
factory-boy==2.5.2 | ||
Pillow==2.9.0 | ||
pluggy==0.3.0 | ||
py==1.4.30 | ||
py-moneyed==0.5.0 | ||
pyflakes==0.8.1 | ||
six==1.9.0 | ||
tox==2.1.1 | ||
requests==2.8.1 | ||
pytz==2015.7 | ||
psycopg2==2.6.1 | ||
raven==5.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r test.txt | ||
Django==1.10.5 | ||
django-debug-toolbar==1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r base.txt | ||
Django==1.10.5 | ||
psycopg2==2.6.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-r base.txt | ||
django-factory-boy==0.1.6 | ||
factory-boy==2.5.2 | ||
tox==2.1.1 | ||
pyflakes==0.8.1 | ||
flake8==3.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
from .base import * # noqa | ||
from .base import * | ||
from bananas.url import database_conf_from_url | ||
|
||
INTERNAL_IPS = ['127.0.0.1'] | ||
INSTALLED_APPS += ('debug_toolbar',) | ||
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters