Added tarballs for third-party Python dependencies, updated requirements, added optional django-debug-toolbar support.

This commit is contained in:
Chris Church
2013-06-10 21:54:42 -04:00
parent bbdfe8bc46
commit 65c8176507
23 changed files with 23 additions and 6 deletions

View File

@@ -172,6 +172,21 @@ EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = '' EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = False EMAIL_USE_TLS = False
# Use Django-Debug-Toolbar if installed.
try:
import debug_toolbar
INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES += (
'debug_toolbar.middleware.DebugToolbarMiddleware',
)
except ImportError:
pass
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
'ENABLE_STACKTRACES' : True,
}
# Use Django-devserver if installed. # Use Django-devserver if installed.
try: try:
import devserver import devserver

View File

@@ -33,7 +33,7 @@
pip: name=distribute state=latest pip: name=distribute state=latest
- name: install python modules via pip - name: install python modules via pip
pip: requirements=${working_dir}/requirements.txt pip: requirements=${working_dir}/requirements/dev.txt
- name: configure the database authentication more or less open for setup - name: configure the database authentication more or less open for setup
template: src=templates/pg_hba_low.j2 dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres template: src=templates/pg_hba_low.j2 dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,19 +1,21 @@
# PIP requirements for AnsibleWorks development/build environment. # PIP requirements for AnsibleWorks development/build environment.
# Install using "pip -r requirements.txt" # Install using "pip -r dev.txt"
Django>=1.5 Django>=1.5
django-celery django-celery
django-devserver
django-extensions django-extensions
django-filter django-filter
django-jsonfield django-jsonfield
django-taggit django-taggit
djangorestframework djangorestframework
ipython Markdown
markdown
pexpect pexpect
python-dateutil python-dateutil
South South>=0.8,<2.0
django-debug-toolbar
django-devserver
ipython
# You may also need to install the following extra packages using the OS # You may also need to install the following extra packages using the OS
# package manager, or pip if you're running inside a virtualenv. # package manager, or pip if you're running inside a virtualenv.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.