Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

Commit

Permalink
#23 Testing Travis builds with Django: removed erroneous django_templ…
Browse files Browse the repository at this point in the history
…ate mention
  • Loading branch information
josiahseaman committed Aug 20, 2019
1 parent dbc5d07 commit 6dc055c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: xenial

language: python
python:
- 3.7
- 3.7.3

# Command to install dependencies, e.g. pip install -r requirements_dev.txt --use-mirrors
install:
Expand All @@ -12,6 +12,8 @@ install:

env:
- DJANGO_VERSION=2.2.1
- DJANGO_SETTINGS_MODULE=vgbrowser.settings

# Command to run tests, e.g. python setup.py test
script: python -m unittest
script:
- python -m unittest
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_template.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'vgbrowser.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand Down
2 changes: 1 addition & 1 deletion vgbrowser/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_template.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'vgbrowser.settings')

application = get_wsgi_application()

0 comments on commit 6dc055c

Please sign in to comment.