Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys


def main():
"""Run administrative tasks."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.test_settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)


if __name__ == "__main__":
main()
16 changes: 5 additions & 11 deletions test_reqs.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
Django==2.2.8
Pillow>=6.2.0
Sphinx==1.2.3
coverage==5.5
coveralls==3.0.1
djangorestframework==3.10.3
flake8==2.2.5
python-magic==0.4.22
requests==2.5.1
sphinx-rtd-theme==0.1.6
testfixtures==6.17.1
Pillow
coverage
coveralls
djangorestframework
testfixtures
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DJANGO =
5.0: django50

[testenv]
passenv = TRAVIS TRAVIS_* GITHUB_*
passenv = TRAVIS,TRAVIS_*,GITHUB_*
deps=
coverage
coveralls
Expand Down
Loading