├── .gitignore ├── ActivitySolutions └── B18654_Activity Solutions.pdf ├── Chapter01 ├── Activity1.01 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ └── reviews │ │ ├── templates │ │ └── base.html │ │ ├── tests.py │ │ └── views.py ├── Activity1.02 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ └── reviews │ │ ├── templates │ │ └── search-results.html │ │ ├── tests.py │ │ └── views.py ├── Exercise1.01 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ └── views.py ├── Exercise1.03 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ └── reviews │ │ ├── tests.py │ │ └── views.py ├── Exercise1.04 │ └── bookr │ │ └── reviews │ │ ├── tests.py │ │ └── views.py ├── Exercise1.05 │ └── bookr │ │ ├── bookr │ │ └── settings.py │ │ └── reviews │ │ ├── templates │ │ └── base.html │ │ └── tests.py ├── Exercise1.06 │ └── bookr │ │ └── reviews │ │ ├── tests.py │ │ └── views.py ├── Exercise1.07 │ └── bookr │ │ └── reviews │ │ ├── templates │ │ └── base.html │ │ ├── tests.py │ │ └── views.py ├── Exercise1.08 │ └── bookr │ │ └── reviews │ │ ├── tests.py │ │ └── views.py ├── final │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── base.html │ │ └── search-results.html │ │ ├── tests.py │ │ └── views.py └── requirements.txt ├── Chapter02 ├── Activity2.01 │ └── juggler │ │ ├── juggler │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── projectm │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20200108_1834.py │ │ ├── 0003_auto_20200108_1858.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ └── views.py ├── Exercise2.02 │ └── exercise2.02.py ├── Exercise2.03 │ └── exercise2.03.py ├── Exercise2.04 │ └── exercise2.04.py ├── Exercise2.05 │ └── exercise2.05.py ├── Exercise2.06 │ └── exercise2.06.py ├── Exercise2.07 │ └── exercise2.07.py ├── Exercise2.08 │ └── exercise2.08.py ├── Exercise2.09 │ └── exercise2.09.py ├── Exercise2.10 │ └── exercise2.10.py ├── Exercise2.11 │ └── exercise2.11.py ├── Exercise2.12 │ └── exercise2.12.py ├── Exercise2.13 │ └── exercise2.13.py ├── Exercise2.14 │ └── exercise2.14.py ├── Exercise2.15 │ └── exercise2.15.py ├── Exercise2.16 │ └── exercise2.16.py ├── Exercise2.17 │ └── exercise2.17.py ├── Exercise2.18 │ └── exercise2.18.py ├── final │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── base.html │ │ └── search-results.html │ │ ├── tests.py │ │ └── views.py └── requirements.txt ├── Chapter03 ├── Activity3.01 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py ├── Exercise3.01 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── base.html │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py ├── Exercise3.02 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── base.html │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py ├── Exercise3.03 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── base.html │ │ ├── reviews │ │ │ └── book_list.html │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py ├── Exercise3.04 │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_list.html │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py ├── final │ └── bookr │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py └── requirements.txt ├── Chapter04 ├── Activity4.02 │ └── comment8or │ │ ├── admin.py │ │ ├── comment8or │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── templates │ │ │ └── comment8or │ │ │ │ └── logged_out.html │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── messageboard │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── migrations │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py ├── Activity4.03 │ └── bookr │ │ └── reviews │ │ ├── admin.py │ │ └── models.py ├── CustomisingTheModelAdminClass │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── settings.py │ │ └── urls.py │ │ └── reviews │ │ ├── admin.py │ │ └── apps.py ├── Exercise4.04 │ └── bookr │ │ └── reviews │ │ └── admin.py ├── README.md ├── SearchBarExcludingGrouping │ └── bookr │ │ └── reviews │ │ └── admin.py ├── final │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ └── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ └── loadcsv.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py └── requirements.txt ├── Chapter05 ├── Activity5.01 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ └── loadcsv.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ │ └── templates │ │ └── base.html ├── Activity5.02 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ └── settings.py │ │ ├── manage.py │ │ ├── reviews │ │ └── tests.py │ │ ├── static │ │ └── main.css │ │ └── templates │ │ └── base.html ├── Activity5.03 │ └── bookr │ │ ├── reviews │ │ └── tests.py │ │ ├── static │ │ └── logo.png │ │ └── templates │ │ └── base.html ├── Exercise5.01 │ └── business_site │ │ ├── business_site │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── landing │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── landing │ │ │ │ └── logo.png │ │ ├── tests.py │ │ └── views.py │ │ └── manage.py ├── Exercise5.02 │ └── business_site │ │ ├── business_site │ │ └── urls.py │ │ └── landing │ │ ├── templates │ │ └── index.html │ │ └── tests.py ├── Exercise5.03 │ └── business_site │ │ ├── business_site │ │ └── settings.py │ │ ├── landing │ │ ├── static │ │ │ └── landing │ │ │ │ └── logo.png │ │ ├── templates │ │ │ └── index.html │ │ └── tests.py │ │ ├── manage.py │ │ └── static │ │ └── main.css ├── Exercise5.04 │ └── business_site │ │ ├── business_site │ │ └── settings.py │ │ ├── landing │ │ └── tests.py │ │ └── static_production_test │ │ └── placeholder ├── Exercise5.05 │ └── business_site │ │ ├── business_site │ │ └── settings.py │ │ ├── landing │ │ └── tests.py │ │ ├── static │ │ └── main.css │ │ └── static_production_test │ │ └── placeholder ├── final │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── loadcsv.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ └── search-results.html │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ └── base.html │ └── business_site │ │ ├── business_site │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── landing │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── landing │ │ │ │ └── logo.png │ │ ├── templates │ │ │ └── index.html │ │ ├── tests.py │ │ └── views.py │ │ ├── manage.py │ │ └── static │ │ └── main.css └── requirements.txt ├── Chapter06 ├── Activity6.01 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ └── loadcsv.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ │ ├── static │ │ ├── logo.png │ │ └── main.css │ │ └── templates │ │ └── base.html ├── Exercise6.01 │ └── form_project │ │ ├── form_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py │ │ ├── form_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ └── manage.py ├── Exercise6.02 │ └── form_project │ │ └── form_example │ │ ├── templates │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py ├── Exercise6.03 │ └── form_project │ │ └── form_example │ │ ├── forms.py │ │ ├── templates │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py ├── Exercise6.04 │ └── form_project │ │ └── form_example │ │ ├── forms.py │ │ ├── tests.py │ │ └── views.py ├── Exercise6.05 │ └── form_project │ │ └── form_example │ │ ├── forms.py │ │ └── tests.py ├── final │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── loadcsv.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ └── search-results.html │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ └── base.html │ └── form_project │ │ ├── form_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── forms.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py │ │ ├── form_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ └── manage.py └── requirements.txt ├── Chapter07 ├── Activity7.01 │ └── bookr │ │ ├── reviews │ │ ├── tests.py │ │ └── views.py │ │ └── templates │ │ └── base.html ├── Activity7.02 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ ├── forms.py │ │ ├── templates │ │ │ └── reviews │ │ │ │ ├── book_detail.html │ │ │ │ └── instance-form.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ │ ├── static │ │ ├── logo.png │ │ └── main.css │ │ └── templates │ │ └── base.html ├── Exercise7.01 │ └── form_project │ │ ├── form_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── forms.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py │ │ ├── form_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ └── manage.py ├── Exercise7.02 │ └── form_project │ │ └── form_example │ │ ├── forms.py │ │ ├── tests.py │ │ └── views.py ├── Exercise7.03 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ └── loadcsv.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── form-example.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ │ ├── static │ │ ├── logo.png │ │ └── main.css │ │ └── templates │ │ └── base.html ├── final │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ └── wsgi.py │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── loadcsv.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── form-example.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ └── base.html │ └── form_project │ │ ├── form_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── forms.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── form-example.html │ │ ├── tests.py │ │ └── views.py │ │ ├── form_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ └── manage.py └── requirements.txt ├── Chapter08 ├── Activity8.01 │ └── bookr │ │ ├── admin.py │ │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ └── loadcsv.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ │ ├── static │ │ ├── logo.png │ │ └── main.css │ │ └── templates │ │ └── base.html ├── Activity8.02 │ └── bookr │ │ └── reviews │ │ ├── templates │ │ └── reviews │ │ │ └── book_detail.html │ │ └── tests.py ├── Exercise8.01 │ └── media_project │ │ ├── manage.py │ │ ├── media │ │ └── test.txt │ │ ├── media_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ └── views.py │ │ └── media_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py ├── Exercise8.02 │ └── media_project │ │ ├── media_example │ │ ├── templates │ │ │ └── media-example.html │ │ ├── tests.py │ │ └── views.py │ │ └── media_project │ │ ├── settings.py │ │ └── urls.py ├── Exercise8.03 │ └── media_project │ │ ├── fixtures │ │ ├── cover.jpg │ │ └── sample.txt │ │ ├── media │ │ └── cover.jpg │ │ └── media_example │ │ ├── templates │ │ └── media-example.html │ │ ├── tests.py │ │ └── views.py ├── Exercise8.04 │ └── media_project │ │ └── media_example │ │ ├── forms.py │ │ ├── templates │ │ └── media-example.html │ │ ├── tests.py │ │ └── views.py ├── Exercise8.05 │ └── media_project │ │ ├── media │ │ └── cover.jpg │ │ └── media_example │ │ ├── forms.py │ │ ├── tests.py │ │ └── views.py ├── Exercise8.06 │ └── media_project │ │ ├── media │ │ ├── files │ │ │ └── placeholder │ │ └── images │ │ │ └── placeholder │ │ └── media_example │ │ ├── forms.py │ │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ └── media-example.html │ │ ├── tests.py │ │ └── views.py ├── Exercise8.07 │ └── media_project │ │ ├── media │ │ ├── cover.jpg │ │ ├── files │ │ │ └── placeholder │ │ ├── images │ │ │ ├── cover_8GmKBdR.jpg │ │ │ ├── cover_uf1yjUz.jpg │ │ │ └── placeholder │ │ └── test.txt │ │ └── media_example │ │ ├── forms.py │ │ ├── tests.py │ │ └── views.py ├── final │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ └── wsgi.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── loadcsv.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ └── base.html │ └── media_project │ │ ├── fixtures │ │ ├── cover.jpg │ │ └── sample.txt │ │ ├── manage.py │ │ ├── media │ │ ├── cover.jpg │ │ ├── files │ │ │ ├── sample_oMGMUVy.txt │ │ │ └── sample_vLDxpxz.txt │ │ ├── images │ │ │ ├── cover_8GmKBdR.jpg │ │ │ └── cover_uf1yjUz.jpg │ │ └── test.txt │ │ ├── media_example │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── forms.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── media-example.html │ │ ├── tests.py │ │ └── views.py │ │ └── media_project │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py └── requirements.txt ├── Chapter09 ├── Activity9.01 │ └── bookr │ │ ├── reviews │ │ └── templates │ │ │ └── reviews │ │ │ └── book_detail.html │ │ └── templates │ │ └── base.html ├── Activity9.02 │ └── bookr │ │ ├── reviews │ │ └── views.py │ │ └── templates │ │ └── profile.html ├── Exercise9.01 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ └── templates │ │ ├── base.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html ├── Exercise9.02 │ └── bookr │ │ ├── bookr │ │ ├── urls.py │ │ └── views.py │ │ └── templates │ │ └── profile.html ├── Exercise9.03 │ └── bookr │ │ ├── bookr │ │ └── views.py │ │ └── reviews │ │ └── views.py ├── Exercise9.04 │ └── bookr │ │ └── templates │ │ └── base.html ├── Exercise9.05 │ └── bookr │ │ └── reviews │ │ └── management │ │ └── commands │ │ └── sessioninfo.py ├── Exercise9.06 │ └── bookr │ │ ├── reviews │ │ └── views.py │ │ └── templates │ │ └── profile.html └── final │ └── bookr │ ├── admin.py │ ├── bookr │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ ├── views.py │ └── wsgi.py │ ├── fixtures │ ├── machine-learning-for-algorithmic-trading.png │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ ├── __init__.py │ ├── admin.py │ ├── adminconfig.py │ ├── apps.py │ ├── appsadmin.py │ ├── forms.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ ├── loadcsv.py │ │ │ └── sessioninfo.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_book_cover_book_sample.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── reviews │ │ │ └── logo.png │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ ├── instance-form.html │ │ │ └── search-results.html │ ├── tests.py │ ├── urls.py │ ├── utils.py │ └── views.py │ ├── static │ ├── logo.png │ └── main.css │ └── templates │ ├── base.html │ ├── profile.html │ └── registration │ ├── logged_out.html │ ├── login.html │ ├── password_change_done.html │ ├── password_change_form.html │ ├── password_reset_complete.html │ ├── password_reset_confirm.html │ ├── password_reset_done.html │ ├── password_reset_email.html │ └── password_reset_form.html ├── Chapter10 ├── Activity10.01 │ ├── bookr │ │ ├── settings.py │ │ └── urls.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ └── reviews │ │ └── admin.py ├── Exercise10.01 │ ├── bookr │ │ └── urls.py │ └── bookr_admin │ │ └── admin.py ├── Exercise10.02 │ ├── bookr │ │ ├── settings.py │ │ └── urls.py │ └── bookr_admin │ │ ├── admin.py │ │ └── apps.py ├── Exercise10.03 │ ├── bookr_admin │ │ └── admin.py │ └── templates │ │ └── admin │ │ └── logout.html ├── Exercise10.04 │ ├── bookr_admin │ │ └── admin.py │ └── templates │ │ └── admin │ │ └── admin_profile.html └── final │ └── bookr │ ├── admin.py │ ├── bookr │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ ├── views.py │ └── wsgi.py │ ├── bookr_admin │ ├── admin.py │ └── apps.py │ ├── fixtures │ ├── machine-learning-for-algorithmic-trading.png │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ ├── __init__.py │ ├── admin.py │ ├── adminconfig.py │ ├── apps.py │ ├── appsadmin.py │ ├── forms.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ ├── loadcsv.py │ │ │ └── sessioninfo.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_book_cover_book_sample.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── reviews │ │ │ └── logo.png │ ├── templates │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ ├── instance-form.html │ │ │ └── search-results.html │ ├── tests.py │ ├── urls.py │ ├── utils.py │ └── views.py │ ├── static │ ├── logo.png │ └── main.css │ └── templates │ ├── base.html │ ├── profile.html │ └── registration │ ├── logged_out.html │ ├── login.html │ ├── password_change_done.html │ ├── password_change_form.html │ ├── password_reset_complete.html │ ├── password_reset_confirm.html │ ├── password_reset_done.html │ ├── password_reset_email.html │ └── password_reset_form.html ├── Chapter11 ├── Activit11.01 │ ├── reviews │ │ ├── templates │ │ │ └── book_list.html │ │ └── templatetags │ │ │ └── profile_tags.py │ └── templates │ │ └── profile.html ├── Exercise11.01 │ ├── bookr │ │ ├── settings.py │ │ └── urls.py │ └── filter_demo │ │ ├── templates │ │ └── index.html │ │ ├── templatetags │ │ └── explode_filter.py │ │ ├── urls.py │ │ └── views.py ├── Exercise11.02 │ └── filter_demo │ │ ├── templates │ │ └── simple_tag_template.html │ │ ├── templatetags │ │ └── simple_tag.py │ │ ├── urls.py │ │ └── views.py ├── Exercise11.03 │ └── filter_demo │ │ ├── templates │ │ ├── book_list.html │ │ └── simple_tag_template.html │ │ ├── templatetags │ │ ├── inclusion_tag.py │ │ └── simple_tag.py │ │ └── views.py ├── Exercise11.04 │ ├── book_management │ │ ├── forms.py │ │ ├── models.py │ │ ├── templates │ │ │ └── book_form.html │ │ ├── urls.py │ │ └── views.py │ └── bookr │ │ ├── settings.py │ │ └── urls.py └── final │ └── bookr │ ├── admin.py │ ├── bookr │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ ├── views.py │ └── wsgi.py │ ├── bookr_admin │ ├── admin.py │ └── apps.py │ ├── fixtures │ ├── machine-learning-for-algorithmic-trading.png │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ ├── __init__.py │ ├── admin.py │ ├── adminconfig.py │ ├── apps.py │ ├── appsadmin.py │ ├── forms.py │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── WebDevWithDjangoData.csv │ │ │ ├── __init__.py │ │ │ ├── loadcsv.py │ │ │ └── sessioninfo.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_book_cover_book_sample.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── reviews │ │ │ └── logo.png │ ├── templates │ │ ├── book_list.html │ │ └── reviews │ │ │ ├── base.html │ │ │ ├── book_detail.html │ │ │ ├── book_list.html │ │ │ ├── instance-form.html │ │ │ └── search-results.html │ ├── templatetags │ │ └── profile_tags.py │ ├── tests.py │ ├── urls.py │ ├── utils.py │ └── views.py │ ├── static │ ├── logo.png │ └── main.css │ └── templates │ ├── base.html │ ├── profile.html │ └── registration │ ├── logged_out.html │ ├── login.html │ ├── password_change_done.html │ ├── password_change_form.html │ ├── password_reset_complete.html │ ├── password_reset_confirm.html │ ├── password_reset_done.html │ ├── password_reset_email.html │ └── password_reset_form.html ├── Chapter12 ├── Activity12.01 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── serializers.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt ├── Exercise12.01 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt ├── Exercise12.02 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── serializers.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt ├── Exercise12.03 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── serializers.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt ├── Exercise12.04 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── serializers.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt ├── Exercise12.05 │ ├── bookr │ │ ├── admin.py │ │ ├── bookr │ │ │ ├── __init__.py │ │ │ ├── asgi.py │ │ │ ├── settings.py │ │ │ ├── urls.py │ │ │ ├── views.py │ │ │ └── wsgi.py │ │ ├── bookr_admin │ │ │ ├── admin.py │ │ │ └── apps.py │ │ ├── fixtures │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ └── machine-learning-for-trading.pdf │ │ ├── manage.py │ │ ├── reviews │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── adminconfig.py │ │ │ ├── api_views.py │ │ │ ├── apps.py │ │ │ ├── appsadmin.py │ │ │ ├── forms.py │ │ │ ├── management │ │ │ │ ├── __init__.py │ │ │ │ └── commands │ │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loadcsv.py │ │ │ │ │ └── sessioninfo.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── serializers.py │ │ │ ├── static │ │ │ │ └── reviews │ │ │ │ │ └── logo.png │ │ │ ├── templates │ │ │ │ ├── book_list.html │ │ │ │ └── reviews │ │ │ │ │ ├── base.html │ │ │ │ │ ├── book_detail.html │ │ │ │ │ ├── book_list.html │ │ │ │ │ ├── instance-form.html │ │ │ │ │ └── search-results.html │ │ │ ├── templatetags │ │ │ │ └── profile_tags.py │ │ │ ├── tests.py │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── static │ │ │ ├── logo.png │ │ │ └── main.css │ │ └── templates │ │ │ ├── base.html │ │ │ ├── profile.html │ │ │ └── registration │ │ │ ├── logged_out.html │ │ │ ├── login.html │ │ │ ├── password_change_done.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_complete.html │ │ │ ├── password_reset_confirm.html │ │ │ ├── password_reset_done.html │ │ │ ├── password_reset_email.html │ │ │ └── password_reset_form.html │ └── requirements.txt └── final │ ├── bookr │ ├── admin.py │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── views.py │ │ └── wsgi.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── api_views.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ ├── loadcsv.py │ │ │ │ └── sessioninfo.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── book_list.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── templatetags │ │ │ └── profile_tags.py │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── static │ │ ├── logo.png │ │ └── main.css │ └── templates │ │ ├── base.html │ │ ├── profile.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html │ └── requirements.txt ├── Chapter13 ├── Activity13.01 │ ├── bookr │ │ ├── bookr │ │ │ ├── urls.py │ │ │ ├── utils.py │ │ │ └── views.py │ │ └── manage.py │ └── requirements.txt ├── Exercise13.01 │ ├── csv_reader.py │ └── market_cap.csv ├── Exercise13.02 │ ├── csv_writer.py │ └── sample_output.csv ├── Exercise13.03 │ ├── requirements.txt │ ├── sample_workbook.xlsx │ └── xlsx_demo.py ├── Exercise13.04 │ ├── demo_page.pdf │ ├── pdf_demo.py │ └── requirements.txt ├── Exercise13.05 │ ├── plot_demo.html │ ├── requirements.txt │ └── scatter_plot_demo.py ├── Exercise13.06 │ ├── bookr │ │ ├── bookr │ │ │ ├── utils.py │ │ │ └── views.py │ │ ├── manage.py │ │ └── templates │ │ │ └── profile.html │ └── requirements.txt └── final │ ├── bookr │ ├── admin.py │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── utils.py │ │ ├── views.py │ │ └── wsgi.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── api_views.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ ├── loadcsv.py │ │ │ │ └── sessioninfo.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── book_list.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── templatetags │ │ │ └── profile_tags.py │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── static │ │ ├── logo.png │ │ └── main.css │ └── templates │ │ ├── base.html │ │ ├── profile.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html │ └── requirements.txt ├── Chapter14 ├── Activity14.01 │ ├── manage.py │ └── reviews │ │ └── tests │ │ ├── __init__.py │ │ ├── test_models.py │ │ └── test_views.py ├── Exercise14.01 │ ├── manage.py │ └── reviews │ │ └── tests.py ├── Exercise14.02 │ ├── bookr │ │ └── settings.py │ ├── bookr_test │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ └── views.py │ └── manage.py ├── Exercise14.03 │ ├── bookr │ │ └── urls.py │ ├── bookr_test │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ └── manage.py ├── Exercise14.04 │ ├── bookr_test │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ └── manage.py ├── Exercise14.05 │ ├── bookr_test │ │ └── tests.py │ └── manage.py └── final │ ├── bookr │ ├── admin.py │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── utils.py │ │ ├── views.py │ │ └── wsgi.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── api_views.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ ├── loadcsv.py │ │ │ │ └── sessioninfo.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── book_list.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── templatetags │ │ │ └── profile_tags.py │ │ ├── tests.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ ├── test_models.py │ │ │ └── test_views.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── static │ │ ├── logo.png │ │ └── main.css │ └── templates │ │ ├── base.html │ │ ├── profile.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html │ └── requirements.txt ├── Chapter15 ├── Activity15.01 │ └── bookr │ │ └── bookr │ │ └── settings.py ├── Exercise15.01 │ └── bookr │ │ ├── bookr │ │ └── settings.py │ │ └── manage.py ├── Exercise15.02 │ └── bookr │ │ └── bookr │ │ └── settings.py ├── Exercise15.03 │ └── bookr │ │ └── bookr │ │ ├── settings.py │ │ └── urls.py ├── Exercise15.04 │ └── bookr │ │ ├── bookr │ │ └── settings.py │ │ └── reviews │ │ ├── forms.py │ │ └── templates │ │ └── reviews │ │ ├── instance-form.html │ │ └── search-results.html └── final │ ├── bookr │ ├── admin.py │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── utils.py │ │ ├── views.py │ │ └── wsgi.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── media │ │ ├── book_covers │ │ │ ├── logo.png │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ ├── machine-learning-for-algorithmic-trading_6NSmBRk.png │ │ │ ├── machine-learning-for-algorithmic-trading_PAm2uE3.png │ │ │ ├── machine-learning-for-algorithmic-trading_d0AAhse.png │ │ │ └── machine-learning-for-algorithmic-trading_sSOhJiQ.png │ │ └── book_samples │ │ │ ├── machine-learning-for-trading.pdf │ │ │ ├── machine-learning-for-trading_572jJkh.pdf │ │ │ ├── machine-learning-for-trading_USBblY5.pdf │ │ │ ├── machine-learning-for-trading_Wk6Qiab.pdf │ │ │ └── main.css │ ├── requirements.txt │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── api_views.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ ├── loadcsv.py │ │ │ │ └── sessioninfo.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── book_list.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── templatetags │ │ │ └── profile_tags.py │ │ ├── tests.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ ├── test_models.py │ │ │ └── test_views.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── static │ │ ├── logo.png │ │ └── main.css │ └── templates │ │ ├── base.html │ │ ├── profile.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html │ └── requirements.txt ├── Chapter16 ├── Activity1601 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ ├── reviews │ │ └── tests.py │ │ ├── static │ │ └── recent-reviews.js │ │ └── templates │ │ └── base.html ├── Exercise1601 │ └── bookr │ │ ├── bookr │ │ └── urls.py │ │ ├── reviews │ │ └── views.py │ │ ├── static │ │ └── templates │ │ └── react-example.html ├── Exercise1602 │ └── bookr │ │ ├── static │ │ └── react-example.js │ │ └── templates │ │ └── react-example.html ├── Exercise1603 │ └── bookr │ │ ├── reviews │ │ └── views.py │ │ ├── static │ │ └── react-example.js │ │ └── templates │ │ └── react-example.html ├── Exercise1604 │ └── bookr │ │ ├── static │ │ └── react-example.js │ │ └── templates │ │ └── react-example.html └── final │ ├── bookr │ ├── admin.py │ ├── bookr │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── utils.py │ │ ├── views.py │ │ └── wsgi.py │ ├── bookr_admin │ │ ├── admin.py │ │ └── apps.py │ ├── fixtures │ │ ├── machine-learning-for-algorithmic-trading.png │ │ └── machine-learning-for-trading.pdf │ ├── manage.py │ ├── media │ │ ├── book_covers │ │ │ ├── logo.png │ │ │ ├── machine-learning-for-algorithmic-trading.png │ │ │ ├── machine-learning-for-algorithmic-trading_6NSmBRk.png │ │ │ ├── machine-learning-for-algorithmic-trading_PAm2uE3.png │ │ │ ├── machine-learning-for-algorithmic-trading_d0AAhse.png │ │ │ └── machine-learning-for-algorithmic-trading_sSOhJiQ.png │ │ └── book_samples │ │ │ ├── machine-learning-for-trading.pdf │ │ │ ├── machine-learning-for-trading_572jJkh.pdf │ │ │ ├── machine-learning-for-trading_USBblY5.pdf │ │ │ ├── machine-learning-for-trading_Wk6Qiab.pdf │ │ │ └── main.css │ ├── requirements.txt │ ├── reviews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── adminconfig.py │ │ ├── api_views.py │ │ ├── apps.py │ │ ├── appsadmin.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── WebDevWithDjangoData.csv │ │ │ │ ├── __init__.py │ │ │ │ ├── loadcsv.py │ │ │ │ └── sessioninfo.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_book_cover_book_sample.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── static │ │ │ └── reviews │ │ │ │ └── logo.png │ │ ├── templates │ │ │ ├── book_list.html │ │ │ └── reviews │ │ │ │ ├── base.html │ │ │ │ ├── book_detail.html │ │ │ │ ├── book_list.html │ │ │ │ ├── instance-form.html │ │ │ │ └── search-results.html │ │ ├── templatetags │ │ │ └── profile_tags.py │ │ ├── tests.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ ├── test_models.py │ │ │ └── test_views.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── static │ │ ├── logo.png │ │ ├── main.css │ │ └── recent-reviews.js │ └── templates │ │ ├── base.html │ │ ├── profile.html │ │ └── registration │ │ ├── logged_out.html │ │ ├── login.html │ │ ├── password_change_done.html │ │ ├── password_change_form.html │ │ ├── password_reset_complete.html │ │ ├── password_reset_confirm.html │ │ ├── password_reset_done.html │ │ ├── password_reset_email.html │ │ └── password_reset_form.html │ └── requirements.txt ├── LICENSE ├── Online Chapters ├── B18654_17.pdf └── B18654_18.pdf └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.pyc 3 | .idea 4 | *.sqlite3 5 | -------------------------------------------------------------------------------- /ActivitySolutions/B18654_Activity Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/ActivitySolutions/B18654_Activity Solutions.pdf -------------------------------------------------------------------------------- /Chapter01/Activity1.01/bookr/reviews/templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter09/Exercise9.02/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | 4 | def profile(request): 5 | return render(request, 'profile.html') 6 | -------------------------------------------------------------------------------- /Chapter09/Exercise9.03/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter09/final/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter09/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter09/final/bookr/reviews/templates/reviews/base.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load static %} 3 | {% block brand %}{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter10/Activity10.01/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter10/Activity10.01/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter10/Exercise10.02/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter10/Exercise10.02/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter10/Exercise10.03/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration" 5 | logout_template = "admin/logout.html" -------------------------------------------------------------------------------- /Chapter10/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter10/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter10/final/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter10/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter10/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter10/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter10/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter10/final/bookr/reviews/templates/reviews/base.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load static %} 3 | {% block brand %}{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter11/Activit11.01/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Activity12.01/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Activity12.01/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Activity12.01/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.01/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.01/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.02/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.02/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.03/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.03/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.04/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.04/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/Exercise12.05/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/Exercise12.05/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter12/final/bookr/bookr/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.auth.decorators import login_required 2 | from django.shortcuts import render 3 | 4 | 5 | @login_required 6 | def profile(request): 7 | return render(request, 'profile.html') 8 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter12/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter12/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter12/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter12/final/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter12/final/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | -------------------------------------------------------------------------------- /Chapter13/Activity13.01/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Chapter13/Exercise13.02/sample_output.csv: -------------------------------------------------------------------------------- 1 | name,age,gender 2 | Richard,32,M 3 | Mumzil,21,F 4 | Melinda,25,F 5 | -------------------------------------------------------------------------------- /Chapter13/Exercise13.03/requirements.txt: -------------------------------------------------------------------------------- 1 | XlsxWriter==1.3.1 2 | -------------------------------------------------------------------------------- /Chapter13/Exercise13.03/sample_workbook.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/Exercise13.03/sample_workbook.xlsx -------------------------------------------------------------------------------- /Chapter13/Exercise13.04/demo_page.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/Exercise13.04/demo_page.pdf -------------------------------------------------------------------------------- /Chapter13/Exercise13.05/requirements.txt: -------------------------------------------------------------------------------- 1 | plotly==4.9.0 2 | retrying==1.3.3 3 | six==1.15.0 4 | -------------------------------------------------------------------------------- /Chapter13/Exercise13.06/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Chapter13/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter13/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter13/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter13/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter13/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter13/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter13/final/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter13/final/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Chapter14/Activity14.01/reviews/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/Activity14.01/reviews/tests/__init__.py -------------------------------------------------------------------------------- /Chapter14/Exercise14.01/reviews/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | class TestSimpleComponent(TestCase): 4 | def test_basic_sum(self): 5 | assert 1+1 == 2 6 | -------------------------------------------------------------------------------- /Chapter14/Exercise14.02/bookr_test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/Exercise14.02/bookr_test/__init__.py -------------------------------------------------------------------------------- /Chapter14/Exercise14.02/bookr_test/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /Chapter14/Exercise14.02/bookr_test/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class BookrTestConfig(AppConfig): 5 | name = 'bookr_test' 6 | -------------------------------------------------------------------------------- /Chapter14/Exercise14.02/bookr_test/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/Exercise14.02/bookr_test/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter14/Exercise14.02/bookr_test/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | -------------------------------------------------------------------------------- /Chapter14/Exercise14.03/bookr_test/urls.py: -------------------------------------------------------------------------------- 1 | from django.urls import path 2 | from . import views 3 | 4 | urlpatterns = [ 5 | path('test/greeting', views.greeting_view, name='greeting_view') 6 | ] 7 | -------------------------------------------------------------------------------- /Chapter14/Exercise14.03/bookr_test/views.py: -------------------------------------------------------------------------------- 1 | from django.http import HttpResponse 2 | 3 | 4 | def greeting_view(request): 5 | """Greet the user.""" 6 | return HttpResponse("Hey there, welcome to Bookr! Your one stop place to review books.") 7 | -------------------------------------------------------------------------------- /Chapter14/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter14/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter14/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter14/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter14/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter14/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter14/final/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter14/final/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Chapter15/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter15/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter15/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter15/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter15/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter15/final/bookr/media/book_covers/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/media/book_covers/logo.png -------------------------------------------------------------------------------- /Chapter15/final/bookr/media/book_samples/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/media/book_samples/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter15/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter15/final/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter15/final/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Chapter16/final/bookr/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | 4 | class BookrAdminSite(admin.AdminSite): 5 | title_header = "Bookr Admin" 6 | site_header = "Bookr administration" 7 | index_title = "Bookr site admin" 8 | -------------------------------------------------------------------------------- /Chapter16/final/bookr/bookr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/bookr/__init__.py -------------------------------------------------------------------------------- /Chapter16/final/bookr/bookr_admin/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | class BookrAdmin(admin.AdminSite): 4 | site_header = "Bookr Administration Portal" 5 | site_title = "Bookr Administration Portal" 6 | index_title = "Bookr Administration" -------------------------------------------------------------------------------- /Chapter16/final/bookr/bookr_admin/apps.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class BookrAdminConfig(AdminConfig): 5 | default_site = 'bookr_admin.admin.BookrAdmin' -------------------------------------------------------------------------------- /Chapter16/final/bookr/fixtures/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/fixtures/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter16/final/bookr/media/book_covers/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/media/book_covers/logo.png -------------------------------------------------------------------------------- /Chapter16/final/bookr/media/book_samples/machine-learning-for-trading.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/media/book_samples/machine-learning-for-trading.pdf -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/reviews/__init__.py -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/adminconfig.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class ReviewsConfig(AppConfig): 5 | default_auto_field = "django.db.models.BigAutoField" 6 | name = "reviews" 7 | -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/appsadmin.py: -------------------------------------------------------------------------------- 1 | from django.contrib.admin.apps import AdminConfig 2 | 3 | 4 | class ReviewsAdminConfig(AdminConfig): 5 | default_site = "admin.BookrAdminSite" 6 | -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/reviews/management/__init__.py -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/management/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/reviews/management/commands/__init__.py -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/reviews/migrations/__init__.py -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/static/reviews/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Chapter16/final/bookr/reviews/static/reviews/logo.png -------------------------------------------------------------------------------- /Chapter16/final/bookr/reviews/templates/book_list.html: -------------------------------------------------------------------------------- 1 |Books read
2 |{% translate 'Your password was changed.' %}
6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /Chapter16/final/requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.4.1 2 | Django==4.0 3 | djangorestframework==3.13.1 4 | Pillow==9.2.0 5 | pytz==2022.2.1 6 | sqlparse==0.4.2 7 | XlsxWriter==1.3.2 8 | -------------------------------------------------------------------------------- /Online Chapters/B18654_17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Online Chapters/B18654_17.pdf -------------------------------------------------------------------------------- /Online Chapters/B18654_18.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Web-Development-with-Django-Second-Edition/a226881fc45de7845220f4e32418d3bb958fd5a0/Online Chapters/B18654_18.pdf --------------------------------------------------------------------------------