forked from don-charlie-pc/dj4e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlessons.json
2218 lines (2216 loc) · 69.9 KB
/
lessons.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"title": "Django for Everybody (DJ4E)",
"description" : "Hello and welcome to my site where you can work through these modules and learn develop Python / Django database-backed web applications.",
"count": true,
"required_modules": [
"https://github.com/tsugitools/gift",
"https://github.com/tsugitools/youtube",
"https://github.com/tsugitools/peer-grade"
],
"badges": [
],
"modules": [
{
"title": "Introduction to Dynamic Web Content",
"anchor": "rrc",
"icon" : "fa-refresh",
"description": "We look at the basic structure of a web application and how a web browser interacts with a web server. We explore the Request-Response Cycle that is the basis of the Hypertext Transfer Protocol (HTTP).",
"slides": "lectures/Web-01-HTTP.pptx",
"videos" : [
{
"title" : "Web Applications and the Request/Response Cycle",
"youtube" : "ZT8uqIEG92o"
},
{
"title" : "Exploring the HyperText Transfer Protocol",
"youtube" : "Q5YIrYkrVXg"
},
{
"title" : "Using Sockets to Make Network Connections in Python",
"youtube" : "RDvlb_XgVyI"
},
{
"title" : "Building a Simple Web Browser in Python",
"youtube" : "Fxgw_BxZg2I"
},
{
"title" : "Building a Simple HTTP Server in Python",
"youtube" : "PNt8zXl7EJ0"
},
{
"title" : "Understanding Browser Developer Mode",
"youtube" : "0JsWY3pmdak"
}
],
"references" : [
{
"title" : "Hypertext Transfer Protocol",
"href" : "https://es.wikipedia.org/wiki/Protocolo_de_transferencia_de_hipertexto"
},
{
"title" : "What Happens When You Click a Link? - Computerphile",
"href" : "https://www.youtube.com/watch?v=keo0dglCj7I"
}
],
"lti" : [
{
"title" : "Quiz: Request-Response Cycle",
"launch" : "mod/gift/?quiz=01-Request-Response.txt",
"resource_link_id" : "dj4e_01_rrc_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Autograder: Request-Response Cycle",
"launch" : "tools/http/",
"resource_link_id" : "dj4e_01_rrc",
"custom" : [
{
"key": "exercise",
"value": "http_headers.php"
}
]
}
]
},
{
"title": "Installing Django on PythonAnywhere",
"anchor": "dj4e_install",
"icon" : "fa-clone",
"description": "This walks through the installation steps for Django on PythonAnywhere. If you cannot use PythonAnywhere, you can also install Django locally and submit assignments your local computer for grading. Installing Django locally will be described in an upcoming lesson.",
"videos" : [
{
"title": "Installing Django on PythonAnywhere",
"youtube": "d32UKww3h1c"
}
],
"assignment" : "{apphome}/assn/dj4e_install.md",
"lti" : [
{
"title" : "Quiz: Django Tutorial 1 Concepts",
"launch" : "mod/gift/?quiz=DJ-TUT1.txt",
"resource_link_id" : "dj4e_01_tut_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Auto-grader: Installing Django",
"launch" : "tools/dj-tutorial/",
"resource_link_id" : "dj4e_install",
"custom" : [
{
"key": "exercise",
"value": "tutorial01.php"
}
]
}
],
"references" : [
{
"title" : "PythonAnywhere",
"href" : "https://www.pythonanywhere.com/"
},
{
"title" : "Writing your first Django app, part 1",
"href" : "https://docs.djangoproject.com/es/3.0/intro/tutorial01/"
},
{
"title" : "Setting up the django.org tutorial on PythonAnywhere",
"href" : "https://help.pythonanywhere.com/pages/FollowingTheDjangoTutorial/"
},
{
"title" : "Using ngrok to submit a local application to the Autograder (optional)",
"href" : "/ngrok"
}
]
},
{
"title": "HyperText Markup Language (HTML)",
"anchor": "html",
"icon" : "fa-html5",
"description": "We briefly cover the basics of the HyperText Markup Language (HTML) that is the markup for web pages. The recorded lectures are from Web Applications for Everybody.",
"slides": "lectures/Web-02-HTML.pptx",
"videos" : [
{
"title" : "HTML - HyperText Markup Language (Part 1)",
"youtube" : "yWmJSO5xQlU"
},
{
"title" : "HTML - HyperText Markup Language (Part 2)",
"youtube" : "fh3omoEiebQ"
},
{
"title" : "HTML - Sample Code Walkthrough",
"youtube" : "wYc6l28v7Cs"
}
],
"references" : [
{
"title" : "HTML Sample Code (Browse)",
"href" : "{apphome}/code/html/index.htm"
},
{
"title" : "HTML Sample Code (Download ZIP)",
"href" : "{apphome}/code/html.zip"
}
],
"assignment" : "{apphome}/assn/dj4e_html.md",
"lti" : [
{
"title" : "Quiz: HTML",
"launch" : "mod/gift/?quiz=00-HTML.txt",
"resource_link_id" : "dj4e_01_html_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Autograder: HyperText Markup Language (HTML)",
"launch" : "tools/html-autograde/",
"resource_link_id" : "html_01",
"custom" : [
{
"key": "exercise",
"value": "a01.php"
}
]
}
]
},
{
"title": "Cascading Style Sheets (CSS)",
"anchor": "css",
"icon" : "fa-css3",
"description": "We briefly cover the basics of cascading Style Sheets (CSS) that allow us to style the markup for web pages.",
"slides": "lectures/Web-03-CSS.ppt",
"videos" : [
{
"title" : "CSS - Cascading Style Sheets - (Part 1)",
"youtube" : "blWx62Js7T0"
},
{
"title" : "CSS - Cascading Style Sheets - (Part 2)",
"youtube" : "nMU8wMgasJ8"
},
{
"title" : "CSS - Cascading Style Sheets - (Part 3)",
"youtube" : "7KWtFdqXiqE"
},
{
"title" : "CSS - Sample Code Walkthrough (Part 1)",
"youtube" : "2Eu96WnoHBY"
},
{
"title" : "CSS - Sample Code Walkthrough (Part 2)",
"youtube" : "MHqI-PKBl_A"
}
],
"assignment" : "{apphome}/assn/css/index.php",
"references" : [
{
"title" : "CSS Sample Code (Browse)",
"href" : "{apphome}/code/css/index.htm"
},
{
"title" : "CSS Sample Code (Download ZIP)",
"href" : "{apphome}/code/css.zip"
},
{
"title" : "Web Developer Plugin by Chris Pedrick",
"href" : "https://chrispederick.com/"
},
{
"title" : "CSS Cheat Sheet by Leslie Frank",
"href" : "http://www.lesliefranke.com/files/reference/csscheatsheet.html"
}
],
"lti" : [
{
"title" : "Quiz: CSS",
"launch" : "mod/gift/?quiz=00-CSS.txt",
"resource_link_id" : "php_01_css_quiz"
},
{
"title": "Peer Graded: Cascading Style Sheets (CSS)",
"launch" : "mod/peer-grade/",
"resource_link_id" : "css",
"custom" : [
{
"key": "config",
"json":
{
"title": "Cascading Style Sheets",
"description": "In this assignment you will develop a Cascading Style Sheet (CSS) to control, the look, feel, and layout of some provide HTML content.",
"grading": "This is a relatively simple assignment. Don't take off points for little mistakes. If they seem to have done the assignment give them full credit. Feel free to make suggestions if there are small mistakes. Please keep your comments positive and useful. If you do not take grading seriously, the instructors may delete your response and you will lose points.",
"assignment" : "http://www.dj4e.com/assn/css/",
"parts": [
{
"title": "Image (JPG or PNG) of your index.htm with the styling applied",
"type": "image"
},
{
"title": "Please paste the source code of your blocks.css file",
"type": "code",
"code": "css"
},
{
"title": "Image (JPG or PNG) of your blocks.css passing the W3 CSS validator",
"type": "image"
},
{
"title": "Image (JPG or PNG) of your browser viewing www.brainyquote.com with all styles turned off",
"type": "image"
},
{
"title": "Image (JPG or PNG) of your browser at www.brainyquote.com inspecting the navigation element to find its background color",
"type": "image"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
]
},
{
"title": "Basic SQL",
"anchor": "dj4e_basic_sql",
"icon" : "fa-database",
"description": "This is a quick look at databases in general and the basic operations (CRUD) in Structured Query Language (SQL). We don't go too far into SQL because we will be using Django's model capabilities to build the databases for our application.",
"videos" : [
{
"title": "How Databases Work",
"youtube": "C1QXYMNTEVs"
},
{
"title": "Introduction to Structured Query Language (SQL)",
"youtube": "wtU7Pp6VFoE"
},
{
"title": "Demonstration: Basic SQL",
"youtube": "2Or6_sSyl7c"
}
],
"slides": "lectures/SQL-01-Basics.pptx",
"lti" : [
{
"title" : "Quiz: SQL",
"launch" : "mod/gift/?quiz=04-SQL.txt",
"resource_link_id" : "dj4e_04_sql_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Auto-grader: Basic SQL",
"launch" : "tools/sqlite/",
"resource_link_id" : "dj4e_basic_sql",
"custom" : [
{
"key": "exercise",
"value": "single_lite.php"
}
]
}
],
"references" : [
{
"title" : "Sample SQLite Command Line Operations (SQL-01-Basics.txt)",
"href": "{apphome}/lectures/SQL-01-Basics.txt"
},
{
"title" : "PythonAnywhere",
"href" : "https://www.pythonanywhere.com/"
},
{
"title" : "Liz Fong: Creating the SQL Database Standards",
"href": "https://www.youtube.com/watch?v=rLUm3vst87g"
},
{
"title" : "Documentation: Command Shell for SQLite",
"href": "https://www.sqlite.org/cli.html"
},
{
"title" : "SQLite Browser",
"href": "https://sqlitebrowser.org/"
}
]
},
{
"title": "Django Data Models",
"anchor": "dj4e_modules",
"icon" : "fa-database",
"description": "This section explores how we define models in Django and then we build the data models and explore the administration interface for our application.",
"slides": "lectures/DJ-02-Model-Single.pptx",
"videos" : [
{
"title": "Django Data Models",
"youtube": "AqsPifp-ccc"
},
{
"title": "Data Model Migration in Django",
"youtube": "YqARGlI6bGc",
"todo" : "Need to make migration fit better in DJ-02",
"project": "DJ 03 Many 05 Migrate"
},
{
"title": "Demonstration: Django Single Table Models",
"youtube": "p5K5hFiJ-GI"
},
{
"title": "Demonstration: Resetting your Django database on PythonAnywhere",
"project": "tut2 reset database edit",
"youtube": "GOQIJbTSzoQ"
}
],
"lti" : [
{
"title" : "Auto-grader: Django Tutorial part 2",
"launch" : "tools/dj-tutorial/",
"resource_link_id" : "dj4e_tut_2",
"learning_objectives": "models / admin",
"custom" : [
{
"key": "exercise",
"value": "tutorial02.php"
}
]
},
{
"title" : "Quiz: Django Tutorial 2",
"launch" : "mod/gift/?quiz=DJ-TUT2.txt",
"resource_link_id" : "dj4e_03_tut2_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Writing your first Django app, part 2",
"href": "https://docs.djangoproject.com/es/3.0/intro/tutorial02/"
},
{
"title" : "Django Data Model Commands (DJ-02-Model-Single.txt)",
"href": "{apphome}/lectures/DJ-02-Model-Single.txt"
},
{
"title" : "Documentation: Command Shell for SQLite",
"href": "https://www.sqlite.org/cli.html"
},
{
"title" : "SQLite Browser",
"href": "https://sqlitebrowser.org/"
}
]
},
{
"title": "Understanding Model View Controller (MVC) ",
"anchor": "dj4e_mvc",
"icon" : "fa-home",
"description": "We cover the concept of the Model-View-Controller (MVC) in web applications.",
"slides": "lectures/DJ-05-MVC.pptx",
"videos" : [
{
"title": "Model View Controller in Django",
"youtube": "XvWG5KMncOU",
"project": "DJ 05 MVC"
}
],
"lti" : [
{
"title" : "Quiz: Model-View-Controller",
"launch" : "mod/gift/?quiz=05-MVC.txt",
"resource_link_id" : "dj4e_01_mvc_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Model-View-Controller (Wikipedia)",
"href": "https://es.wikipedia.org/wiki/Modelo%E2%80%93vista%E2%80%93controlador"
},
{
"title" : "Django and MVC (FAQ)",
"href": "https://docs.djangoproject.com/es/3.0/faq/general/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names"
}
]
},
{
"title": "Django Views and Templates",
"anchor": "django_views",
"icon" : "fa-align-left",
"slides": "lectures/DJ-06-Views-Templates.pptx",
"description": "We finally get to looking at the core of a Django application - the views and templates.",
"videos" : [
{
"title": "URL Routing in Django",
"youtube": "AQFC13D2mRM",
"project": "DJ 06 Views 01 Urls"
},
{
"title": "Django Views",
"youtube": "9Qk4vJMssMo",
"project": "DJ 06 Views 02 Views"
},
{
"title": "Inside Django Views and HTML Escaping in Django",
"youtube": "SAAWE4Hz6Mk",
"project": "DJ 06 Views 03 Detail"
},
{
"title": "Using Templates in Django",
"youtube": "mTvWrpMGWBA",
"project": "DJ 06 Views 04 Templates"
},
{
"title": "Using the Django Template Language (DTL)",
"youtube": "teL44ugGpSs",
"project": "DJ 06 Views 05 DTL"
},
{
"title": "Django Template Inheritance",
"youtube": "IMgml67lH9Y",
"project": "DJ 06 Views 06 Inherit"
},
{
"title": "Reversing Django URLs",
"youtube": "YT60BZJjySg",
"project": "DJ 06 Views 07 Reverse"
}
],
"lti" : [
{
"title" : "Quiz: Views and Templates",
"launch" : "mod/gift/?quiz=06-Views-Templates.txt",
"resource_link_id" : "dj4e_06_views_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Auto-grader: Django Tutorial part 3",
"launch" : "tools/dj-tutorial/",
"resource_link_id" : "dj4e_tut_3",
"learning_objectives": "Views / templates",
"custom" : [
{
"key": "exercise",
"value": "tutorial03.php"
}
]
},
{
"title" : "Quiz: Django Tutorial 3",
"launch" : "mod/gift/?quiz=DJ-TUT3.txt",
"resource_link_id" : "dj4e_tut3_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Writing your first Django app, part 3",
"href": "https://docs.djangoproject.com/es/3.0/intro/tutorial03/"
},
{
"title" : "Django URL Routing",
"href": "https://docs.djangoproject.com/es/3.0/topics/http/urls/"
},
{
"title" : "Django Templates",
"href": "https://docs.djangoproject.com/es/3.0/topics/templates/"
},
{
"title" : "Django Template Tags and Filters",
"href": "https://docs.djangoproject.com/es/3.0/ref/templates/builtins/"
},
{
"title" : "Django HttpRequest Object",
"href": "https://docs.djangoproject.com/es/3.0/ref/request-response/#django.http.HttpRequest"
},
{
"title" : "Django HttpResponse Object",
"href": "https://docs.djangoproject.com/es/3.0/ref/request-response/#django.http.HttpResponse"
},
{
"title" : "Cross-Site Scripting (XSS)",
"href": "https://es.wikipedia.org/wiki/Cross-site_scripting"
},
{
"title" : "HTTP Status Codes",
"href": "https://es.wikipedia.org/wiki/Anexo:C%C3%B3digos_de_estado_HTTP"
},
{
"title" : "Django URL Resolving",
"href": "https://docs.djangoproject.com/es/3.0/topics/http/urls/#reverse-resolution-of-urls"
}
]
},
{
"title": "Object-Oriented Programming in Python",
"anchor": "Objects",
"icon" : "fa-cubes",
"description": "We do a quick look at how Python supports the Object-Oriented programming pattern.",
"slides": "https://www.py4e.com/lectures3/Pythonlearn-14-Objects.pptx",
"references" : [
{
"title" : "Chapter 14: Python Objects",
"href" : "https://www.py4e.com/html3/14-objects"
}
],
"videos" : [
{
"title" : "Objects Part 1",
"youtube" : "u9xZE5t9Y30"
},
{
"title" : "Objects Part 2",
"youtube" : "b2vc5uzUfoE"
},
{
"title" : "Objects Part 3",
"youtube" : "bal0Fv6QE9w"
},
{
"title" : "Objects Part 4",
"youtube" : "EE9PaHPPm2w"
}
],
"lti" : [
{
"title" : "Quiz: Object-Oriented Programming",
"launch" : "mod/gift/?quiz=16-Python-Objects.txt",
"resource_link_id" : "dj4e_16_oo_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
]
},
{
"title": "Django Generic Views",
"anchor": "django_generic",
"icon" : "fa-align-left",
"slides": "lectures/DJ-07-Views-Generic.pptx",
"description": "We look at the generic views capability within Django.",
"videos" : [
{
"title": "Understanding Django Generic Views",
"youtube": "uPRabryhv5k",
"project": "DJ 07 Views 08 Generic"
}
],
"lti" : [
{
"title" : "Quiz: Generic Views",
"launch" : "mod/gift/?quiz=07-Views-Generic.txt",
"resource_link_id" : "dj4e_07_generic_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Review: Object-Oriented Programming in Python",
"href": "https://www.py4e.com/lessons/Objects"
},
{
"title" : "Writing your first Django app, part 4",
"href": "https://docs.djangoproject.com/es/3.0/intro/tutorial04/"
},
{
"title" : "Django Template Tags and Filters",
"href": "https://docs.djangoproject.com/es/3.0/ref/templates/builtins/"
},
{
"title" : "Django Documentation: Generic display views",
"href": "https://docs.djangoproject.com/es/3.0/ref/class-based-views/generic-display/"
},
{
"title" : "Django Documentation: Generic list display views",
"href": "https://docs.djangoproject.com/es/3.0/ref/class-based-views/generic-display/#django.views.generic.detail.ListView"
},
{
"title" : "Django Documentation: Generic detail display views",
"href": "https://docs.djangoproject.com/es/3.0/ref/class-based-views/generic-display/#django.views.generic.detail.DetailView"
}
]
},
{
"title": "Forms in HTTP, and HTML",
"anchor": "dj4e_forms_html",
"icon" : "fa-table",
"description": "We cover how GET and POST work, how forms are constructed from HTML, how we protect our applications against Cross-Site Scripting Forgery (CSRF), and how we handle browser refreshes after POST.",
"slides": "lectures/DJ-08-Forms-HTML.pptx",
"videos" : [
{
"title": "Forms, GET, POST, and HTTP",
"project" : "DJ-10-Forms-01-getpost",
"youtube": "KqH0Pu2ZnIg"
},
{
"title": "Building HTML Forms",
"project" : "DJ-10-Forms-02-HTML",
"youtube": "iXgnkxwzZzM"
},
{
"title": "Forms and Cross Site Request Forgery (CSRF)",
"project" : "DJ-10-Forms-03-CSRF",
"youtube": "j-vdshWK9Lc"
},
{
"title": "CSRF Support in Django",
"project" : "DJ-10-Forms-04-Form-CSRF",
"youtube": "w9Y6tIVGUTI"
},
{
"title": "The POST Refresh Pattern",
"project" : "DJ-10-Forms-05-Refresh",
"youtube": "Cug7pkRWQM0"
},
{
"title": "Implementing POST Redirect in Django",
"project" : "DJ-10-Forms-06-Redirect",
"youtube": "a_ahU4F1V2g"
}
],
"lti" : [
{
"title" : "Quiz: HTML Forms",
"launch" : "mod/gift/?quiz=10-Forms-HTML.txt",
"resource_link_id" : "dj4e_html_forms_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Auto-grader: Django Tutorial part 4",
"launch" : "tools/dj-tutorial/",
"resource_link_id" : "dj4e_tut_4",
"learning_objectives": "Forms / CSRF / DB update / Generic Views",
"custom" : [
{
"key": "exercise",
"value": "tutorial04.php"
}
]
},
{
"title" : "Quiz: Django Tutorial 4",
"launch" : "mod/gift/?quiz=DJ-TUT4.txt",
"resource_link_id" : "dj4e_tut4_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Django Template Tags and Filters",
"href": "https://docs.djangoproject.com/es/3.0/ref/templates/builtins/"
},
{
"title" : "Writing your first Django app, part 4",
"href": "https://docs.djangoproject.com/es/3.0/intro/tutorial04/"
}
]
},
{
"title": "Cookies and Sessions",
"anchor": "dj4e_sessions",
"icon" : "fa-cookie",
"description": "We explore how cookies work in the browser and how to set and read cookies in Django. We then explore how cookies are used to support sessions in Django and how we use sessions in Django.",
"slides": "lectures/DJ-09-Cookies-Sessions.pptx",
"assignment" : "{apphome}/assn/dj4e_hello.md",
"videos" : [
{
"title": "Cookies in Browsers and Django",
"project" : "DJ-08-Cookies-01-Cookies",
"youtube": "C75IW38hKI8"
},
{
"title": "Using Sessions in Django",
"project" : "DJ-08-Cookies-02-Sessions",
"youtube": "RjykNmVdcgI"
}
],
"lti" : [
{
"title" : "Quiz: Cookies and Sessions",
"launch" : "mod/gift/?quiz=09-Cookies-Sessions.txt",
"resource_link_id" : "dj4e_09_cookie_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
},
{
"title" : "Auto-grader: Cookies!",
"launch" : "tools/cookies/",
"learning_objectives": "Cookies",
"resource_link_id" : "dj4e_cookie"
},
{
"title" : "Auto-grader: Hello World",
"launch" : "tools/dj-tutorial/",
"learning_objectives": "Cookies / Sessions / DIY",
"resource_link_id" : "dj4e_hello",
"custom" : [
{
"key": "exercise",
"value": "hello05.php"
}
]
}
],
"references" : [
]
},
{
"title": "Django Users and Authentication",
"anchor": "dj4e_users",
"icon" : "fa-key",
"description": "This exercise explores the interaction between authentication and our application.",
"slides": "lectures/DJ-10-Login.pptx",
"videos" : [
{
"title": "Creating and Managing Users in Django",
"project" : "DJ-09-Login-01-Users",
"youtube": "E_X5Kr6xmNY"
},
{
"title": "Login and Logout URLs in Django",
"project" : "DJ-09-Login-02-Urls",
"youtube": "tNofsgLH7c4"
},
{
"title": "Login and Views in Django",
"project" : "DJ-09-Login-03-Views",
"youtube": "n5Xwqz1IJck"
}
],
"lti" : [
{
"title" : "Quiz: Login and Authentication",
"launch" : "mod/gift/?quiz=10-Login.txt",
"resource_link_id" : "dj4e_10_login_quiz",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
]
},
{
"title": "Forms in Django",
"anchor": "dj4e_forms_django",
"icon" : "fa-table",
"description": "We cover how to use the Django built in forms processing to futher simplify our view processing.",
"slides": "lectures/DJ-11-Forms-Django.pptx",
"videos" : [
{
"title": "Using Django Forms Capabilities",
"project" : "DJ-10-Forms-07-FormsPy",
"youtube": "bYlgvmAPrp0"
},
{
"title": "Data Validation with Django Forms",
"project" : "DJ-10-Forms-08-Validation",
"youtube": "kRXiMIFKzoQ"
}
],
"lti" : [
{
"title" : "Quiz: Django Forms",
"launch" : "mod/gift/?quiz=11-Django-Forms.txt",
"resource_link_id" : "dj4e_forms_django",
"custom" : [
{
"key": "tries",
"value": "101"
},
{
"key": "delay",
"value": "601"
}
]
}
],
"references" : [
{
"title" : "Django Template Tags and Filters",
"href": "https://docs.djangoproject.com/es/3.0/ref/templates/builtins/"
}
]
},
{
"title": "One-To-Many Data Models",
"anchor": "dj4e_one_to_many",
"icon" : "fa-university",
"description": "We explore the design of one-to-many data models.",
"slides": "lectures/DJ-03-One-To-Many.pptx",
"videos" : [
{
"title": "One-to-Many Models Overview",
"youtube": "vgyYEE7XDzw",
"project": "DJ 03 Many 01 Overview"
},
{
"title": "Removing Replication in One-to-Many Models",
"youtube": "JCQYxILYNIE",
"project": "DJ 03 Many 02 Replication"
},
{
"title": "Storing Primary and Foreign Keys in a Database",
"youtube": "xmyE-zQaBEI",
"project": "DJ 03 Many 03 Physical"
},
{
"title": "Representing One-To-Many Models in Django",
"youtube": "9t-bP963_jY",
"project": "DJ 03 Many 04 Django"
},
{
"title": "Using the Django Shell to Explore One-to-Many Models",
"youtube": "ZdLpAtfWfZk",
"project": "DJ 03 Many 06 Shell"
},
{
"title": "Building a Django Batch Script to Load Data from CSV",
"todo" : "Re-record do with one-to-many and using extensions",
"youtube": "E8y_6S2Fc5s",
"project" : "DJ 04 Many 04 Batch"
}
],
"assignment" : "{apphome}/assn/dj4e_load.md",
"lti" : [