Registering Django Models with Wagtails ModelAdmin

Опубликовано: 07 Октябрь 2024
на канале: Coding For Everybody
13,186
261

In the land of Django and Wagtail, sometimes you need custom Django Models but Wagtail doesn't let you edit these models by default. And personally, I don't believe in giving a client 2 admin dashboards to operate in. So let's add a custom Django Model to our Wagtail website using a Wagtail ModelAdmin.

Tutorial: https://learnwagtail.com/tutorials/ho...

GitHub Commit: https://github.com/CodingForEverybody...

Gist: https://gist.github.com/KalobTaulien/...

Learn Wagtail from scratch with the official Wagtail for Beginners Course
https://learnwagtail.com/wagtail-for-...

Used in this video: Wagtail 2.4, Python 3.7, Django 2.1.5 #Wagtail #Django #Python