filmov
tv
Coding the same project twice at the same time with Django and Wagtail to compare | Tutorial

Показать описание
In this live coding adventure we code two blog websites at the same time. We use Django for one and Wagtail for the other. Wagtail is a content management system (CMS) built on top of Django so essentially we use the Django for both 😅. Nonetheless, we discover how much easier and more convenient it can be to use Wagtail when a content management system is required.
Chapters:
00:00 - I think you will want to give Wagtail CMS try!
00:20 - What we'll do.
00:44 - Create project directories
01:32 - Create Venv ( virtual environments for both projects )
02:07 - Install Django then Install Wagtail
02:50 - generate site ( wagtail start command and Django admin start project )
03:20 - comparing Django and Wagtail project scaffolding
05:20 - create blog apps ( start app command )
07:14 - make migrations
07:42 - run servers on different ports
09:36 - create models in Django Project
11:55 - define models in wagtail project ( extend wagtails page model )
12:56 - Wagtail's Richtext Field
13:52 - access wagtail CMS ( create superuser )
15:13 - Wagtail CMS Login Page
15:53 - Add Category through Wagtail CMS admin
16:55 - Wagtail Child Page
17:50 - Wagtail's Content Panels | fieldpanel - to make fields appear in backend
19:40 - Create Wagtail template for blog post
25:40 - Create Category Template in Wagtail Project
32:15 - verbose name plural ( category model )
34:30 - create views
37:12 - create templates in Django project
40:00 - configure urls in Django project
46:43 - Comparing the projects we made with Django and Wagtail
48:00 - count lines of code and compare
-----
If you're considering hosting your app on DigitalOcean, it’d be awesome if you used my referral link! You'll get $200 in free credits, and I'll get $25.
#django #wagtail #backend #python #coding #webdev
Chapters:
00:00 - I think you will want to give Wagtail CMS try!
00:20 - What we'll do.
00:44 - Create project directories
01:32 - Create Venv ( virtual environments for both projects )
02:07 - Install Django then Install Wagtail
02:50 - generate site ( wagtail start command and Django admin start project )
03:20 - comparing Django and Wagtail project scaffolding
05:20 - create blog apps ( start app command )
07:14 - make migrations
07:42 - run servers on different ports
09:36 - create models in Django Project
11:55 - define models in wagtail project ( extend wagtails page model )
12:56 - Wagtail's Richtext Field
13:52 - access wagtail CMS ( create superuser )
15:13 - Wagtail CMS Login Page
15:53 - Add Category through Wagtail CMS admin
16:55 - Wagtail Child Page
17:50 - Wagtail's Content Panels | fieldpanel - to make fields appear in backend
19:40 - Create Wagtail template for blog post
25:40 - Create Category Template in Wagtail Project
32:15 - verbose name plural ( category model )
34:30 - create views
37:12 - create templates in Django project
40:00 - configure urls in Django project
46:43 - Comparing the projects we made with Django and Wagtail
48:00 - count lines of code and compare
-----
If you're considering hosting your app on DigitalOcean, it’d be awesome if you used my referral link! You'll get $200 in free credits, and I'll get $25.
#django #wagtail #backend #python #coding #webdev
Комментарии