Registering Django Models with Wagtails ModelAdmin

Coding For Everybody
Coding For Everybody
12.9 هزار بار بازدید - 5 سال پیش - In the land of Django
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
5 سال پیش در تاریخ 1397/11/19 منتشر شده است.
12,988 بـار بازدید شده
... بیشتر