You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: WORKSHOP.md
+4-6
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This project utilizes the [Getting Started with Python on Heroku](https://github
10
10
11
11
## Prerequisites
12
12
13
-
1. Signup for a Free [Heroku](https://signup.heroku.com/) Account
13
+
1. Signup for [Heroku](https://signup.heroku.com/)
14
14
2. Install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli#download-and-install)
15
15
3. Clone this Repo
16
16
@@ -61,13 +61,13 @@ For twelve factor deployment and deployment on Heroku, a few changes are needed
61
61
62
62
Scroll to the `MIDDLEWARE` list and place the following line at index 1, or 2nd in the list:
63
63
64
-
`'whitenoise.middleware.WhiteNoiseMiddleware',`
64
+
`"whitenoise.middleware.WhiteNoiseMiddleware",`
65
65
66
66
The order that middleware is loaded is important, which is why we need to add this change to our local.py file. More on that in a bit.
67
67
68
-
For local-prod parity, let's enable WhiteNoise's [caching and compression](http://whitenoise.evans.io/en/stable/django.html#add-compression-and-caching-support) locally by adding the following line to the bottom of your `local.py`:
68
+
For local-prod parity, let's enable WhiteNoise's [caching and compression](http://whitenoise.evans.io/en/stable/django.html#add-compression-and-caching-support) locally by adding the following line to the bottom of your `base.py`:
0 commit comments