зеркало из https://github.com/mozilla/pontoon.git
Fix Bug 1440895: Add dj.debug package to requirements-dev #905
- Add dj.debug package to requirements-dev This allows the use of a @debug decorator that can be used to print out the sql used in a method or function. Also provides a contextmanager to do similar for a block of code. - Add dev requirements for staging
This commit is contained in:
Родитель
9aba759b5c
Коммит
6fe02c4734
|
@ -1,5 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Install requirements-dev.txt on staging
|
||||
if [ "$DJANGO_STAGE" = True ]; then
|
||||
echo "Installing dev requirements..."
|
||||
pip install -r requirements-dev.txt
|
||||
fi
|
||||
|
||||
# Compile static assets
|
||||
export PATH=/app/.heroku/node/bin:$PATH
|
||||
npm install .
|
||||
|
|
|
@ -13,6 +13,8 @@ django-extensions==1.6.7 \
|
|||
--hash=sha256:ebdfc329207231f63b5ccb591407aadbc1a524af752e52690f0646eb7ff52943
|
||||
django-sslserver==0.19 \
|
||||
--hash=sha256:1363835229a0585f89c42f3beca836572f3f6babdc1508f13352aed84b0924b3
|
||||
dj.debug==0.0.2 \
|
||||
--hash=sha256:0b7629bde97f1cce6077ac430537089f5a2552973004951cb3590e30fec9054a
|
||||
hashin==0.11.2 \
|
||||
--hash=sha256:aaf11abf155830b7c2b868bb6dbc5dfde49cd0b17a4c0dc1b8b67ca9f31ec490
|
||||
sqlparse==0.1.19 \
|
||||
|
|
Загрузка…
Ссылка в новой задаче