Skip to content

Commit

Permalink
836 Django 2.0 Upgrade (#840)
Browse files Browse the repository at this point in the history
* Dependency updates

* Updated pipfile

* Flake8 cleanup
  • Loading branch information
tbaxter-18f authored Oct 25, 2018
1 parent 703507c commit 6ccc522
Show file tree
Hide file tree
Showing 26 changed files with 582 additions and 462 deletions.
9 changes: 4 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@ verify_ssl = true
name = "pypi"

[packages]
django = "==1.11.*"
django = "~=2.0"
dj-database-url = "*"
gevent = "*"
gunicorn = "*"
whitenoise = "*"
djangorestframework = "==3.6.*"
djangorestframework = "~=3.8"
djangorestframework-csv = "*"
bleach = "*"
newrelic = "*"
cfenv = "*"
cg-django-uaa = "*"
"psycopg2-binary" = "*"
markdown = "*"
django-webtest = "==1.9.2"
django-webtest = "~=1.9"

[dev-packages]
bandit = "*"
coverage = "*"
django = "==1.11.*"
django-debug-toolbar = "*"
django-webtest = "*"
factory-boy = "*"
Expand All @@ -31,4 +30,4 @@ nplusone = "*"
codecov = "*"

[requires]
python_version = "3.6"
python_version = "3.6"
26 changes: 13 additions & 13 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions docs/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,17 @@ container: `Control + p, Control + q`, one after another.
If you mistakenly hit `Control + c`, you will kill the `tock_app` container! In
that case, restart the `tock_app` container with a `docker-compose up` command.


### Testing locally

The easiest, most reliable way to test locally is from within the docker container,
which lets you access `manage.py`:

```
docker-compose run app bash
python manage.py test
```

### Making CSS changes

`docker-compose up` will also launch a [Node] machine that compiles the [Sass]
Expand Down
Loading

0 comments on commit 6ccc522

Please sign in to comment.