File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,8 @@ MIDDLEWARE = [
203
203
204
204
----
205
205
====
206
+ // CSANAD: I would add a few thoughts on the significance of the order of
207
+ // middlewares.
206
208
207
209
And if you take another manual look at your site after rebuilding the
208
210
container, things should look much healthier.
@@ -453,6 +455,10 @@ $ *docker build -t superlists . && docker run \
453
455
An FT run (or just looking at the site) reveals that we've had a regression
454
456
in our static files.
455
457
458
+ // CSANAD: worth mentioning there was another clue. in the logs, once Gunicorn
459
+ // starts running you can see:
460
+ // `UserWarning: No directory at: /src/static/`
461
+
456
462
[role="small-code"]
457
463
[subs="specialcharacters,macros"]
458
464
----
498
504
We have a container that we're ready to ship to production!
499
505
500
506
Find out how in the next exciting installment...
501
-
507
+ // CSANAD: now would be a good time to check our changes and notice git marked
508
+ // src/static as unstaged, so we should update .gitignore accordingly:
509
+ // from `static` to `src/static`.
510
+ // Or we could add this step to Chapter 09 at "Move all our code into a src
511
+ // folder"
502
512
503
513
504
514
=== Configuring logging
You can’t perform that action at this time.
0 commit comments