Add django-reset to dependencies.
Review Request #6104 — Created July 14, 2014 and submitted
We still use 'manage.py reset' in a few cases, and 'manage.py flush' is not an
equivalent replacement. This change pulls in the 'django-reset' package as a
dependency, which forward-ports this management command.
Ran
./reviewboard/manage.py --help
and saw the reset commands.
Description | From | Last Updated |
---|---|---|
'from settings_local import *' used; unable to detect undefined names |
reviewbot | |
'PIPELINE_CSS' imported but unused |
reviewbot | |
'PIPELINE_JS' imported but unused |
reviewbot | |
'django_reset' imported but unused |
reviewbot | |
This needs to be removed. |
chipx86 | |
'django_reset' imported but unused |
reviewbot | |
'from settings_local import *' used; unable to detect undefined names |
reviewbot | |
'PIPELINE_CSS' imported but unused |
reviewbot | |
'PIPELINE_JS' imported but unused |
reviewbot |
-
We only use this for development, right? I don't think we should require it for the package itself. How about trying to import it in settings, and if it exists, adding it to INSTALLED_APPS?
(Of course, we can just do this ourselves in our own settings_local with
RB_EXTRA_APPS
.)There's really a handful of modules we only use for development that we should make easier to install. Maybe in prepare-dev.py, or some new setup.py target of some sort.
-
Tool: PEP8 Style Checker Processed Files: reviewboard/admin/management/commands/loaddb.py reviewboard/settings.py Ignored Files: docs/codebase/unit-tests/fixtures.rst Tool: Pyflakes Processed Files: reviewboard/admin/management/commands/loaddb.py reviewboard/settings.py Ignored Files: docs/codebase/unit-tests/fixtures.rst
-
-
-
-
-