summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-09-19 14:58:15 -0300
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-09-19 14:58:15 -0300
commit66e63edfafec1643f8d4b5a60de8c96f7ee700e5 (patch)
tree4be1faca6ec8b3d5c95e4e3f69983b1452ec280c
parentd298cf57c21a491a5de9a78a162e28d4c4c64626 (diff)
downloadarchweb-66e63edfafec1643f8d4b5a60de8c96f7ee700e5.tar.gz
archweb-66e63edfafec1643f8d4b5a60de8c96f7ee700e5.zip
Add django-extensions to the default installation
Django extensions comes with a lot of goodies, including shell_plus. As a default, included ptpython for default shell, but this can be overridden by installing another shell (bpython, ipython) and setting the SHELL_PLUS variable on local_settings.py.
-rw-r--r--requirements.txt4
-rw-r--r--settings.py1
2 files changed, 4 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 7fc35127..e954549c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,10 +4,12 @@ IPy==1.00
Markdown==3.1.1
bencode.py==2.0.0
django-countries==5.5
+django-extensions==2.2.1
jsmin==2.2.2
pgpdump==1.5
-pytz>=2017.3
+pytz>=2019.2
parse==1.12.1
django-jinja==2.4.1
sqlparse==0.3.0
django-csp==3.5
+ptpython==2.0.4
diff --git a/settings.py b/settings.py
index e6423281..e91b5aa6 100644
--- a/settings.py
+++ b/settings.py
@@ -115,6 +115,7 @@ INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.staticfiles',
'django_countries',
+ 'django_extensions',
'main',
'mirrors',