Browse Source

Add awesome debugging tools

remotes/origin/feincms
Tomas Gavenciak 10 years ago
parent
commit
b10ad7f435
  1. 2
      Makefile
  2. 9
      mamweb/settings.py
  3. 8
      mamweb/settings_test.py
  4. 6
      requirements.txt

2
Makefile

@ -59,6 +59,8 @@ push_test:
cp mamweb/settings_test.py mamweb/settings.py && \
make install && \
./manage.py migrate --noinput && \
chown -R :mam . && \
chmod -R g+w . && \
echo Done."
@echo "Test deployed at ${TEST_SERVER}:${TEST_DIR} successfully."

9
mamweb/settings.py

@ -1,2 +1,11 @@
from .settings_common import *
# Local development settings
INSTALLED_APPS += (
'debug_toolbar',
'django_extensions',
)

8
mamweb/settings_test.py

@ -3,4 +3,12 @@ from .settings_common import *
# Specific settings for remote test site
# ...
INSTALLED_APPS += (
'debug_toolbar',
'django_extensions',
)

6
requirements.txt

@ -4,6 +4,11 @@ django-mptt==0.6.1
django-reversion==1.8.5
django-sekizai==0.8.1
django-debug-toolbar==1.3.0
django-extensions==1.5.1
sqlparse==0.1.14
Werkzeug==0.10.1
django-allauth==0.19.1
oauthlib==0.7.2
python-openid==2.2.5
@ -16,3 +21,4 @@ Pillow==2.7.0
pytz==2014.10
six==1.9.0

Loading…
Cancel
Save