Questions tagged [wagtail-admin]
135 questions
1
vote
1 answer
How can I create children of a non-existent parent page in the Wagtail CMS for Django?
I want to create children of a page (such as "/questions/example"), without having to create the root page "/questions". Is there a quick way of implementing something like this?

be2213444
- 607
- 1
- 4
- 10
1
vote
0 answers
Wagtail: Adding BaseSetting to ModelAdminGroup
I am trying to create edit the admin interface of Wagtail and grouping setting to make more sense. To do this I want to mix BaseSetting and ModelAdmin models within one submenu.
I have two types of models for it: BaseSetting, that I use with…

justalazyprogrammer
- 71
- 4
1
vote
2 answers
can not save pages any more in wagtail
when clicking publish or save draft I got this error
wagtail.core.models.Page.DoesNotExist: Page matching query does not exist.
this happens only with old pages, the newly created pages are being able to be created and saved without any errors
NB:…

ladhari
- 505
- 4
- 15
1
vote
1 answer
how to dynamically reload watail_hooks.py in wagtail admin?
I rebuild the main menu in wagtail admin with the file wagtail_hooks.py. When I update the database, the main menu will change according to the new content in the database. Part of the file wagtail_hooks.py are as follows:
factories =…

txf
- 19
- 3
1
vote
1 answer
Wagtail-Localize translated home page not connected to site
So the problem is simple:
Translated home page is not connected to any site. Everything is working kind of properly, I can open translated pages manually like this: /en/.... But for example there is no LIVE button on the translated page, to which…

itekhi
- 151
- 1
- 11
1
vote
1 answer
Upgrading Wagtail from 2.9.3 to 2.11 breaks wagtail admin icons
I've checked everything...
After upgrading interface looks like this:
Totally broken, but the only thing that is breaking everything is icons...
Neither CMD or DevTools doesn't seem to show any missing files...
I have already ran all of the…

itekhi
- 151
- 1
- 11
1
vote
0 answers
Customizing the Submissions List View in Wagtail
I'm trying to subclass the SubmissionsListView for the Wagtail admin. I'm following the instructions from this tutorial and this one.
Here's my code:
class CustomSubmissionsListView(SubmissionsListView):
def get_context_data(self, **kwargs):
…

Dave Merwin
- 1,382
- 2
- 22
- 44
1
vote
1 answer
How to automaticaly delete images linked to a page after deleting the page?
I have an Annonce page with this model:
class AnnoncePage(Page):
date = models.DateField("Date de publication", blank=True, null=True)
description = RichTextField(features=['h2', 'h3', 'bold', 'italic', 'link', 'hr', 'ol', 'ul'],…

Pierrocana
- 13
- 4
1
vote
2 answers
How to add multiple images to a model?
Wagtail
My model code:
class HomePage(Page):
images = models.ImagesField(max_count = 20) // How to do it right?
content_panels = Page.content_panels + [
ImagesChooserPanel('images'),
]
How it should look
Please help!

LOVE USA
- 51
- 6
1
vote
1 answer
Wagtail Admin: How to control where user is redirected after submitting changes for moderation
On a Wagtail site I've built, I have a model type that is editable by authenticated users who do not have full admin privileges. They can only save as a draft or submit the changes for moderation. The problem I'm having is that Wagtail is…

David Martin
- 33
- 2
1
vote
1 answer
Wagtail models.py: How to create Custom folder in Media?
In Wagtail, How to add custom folder in Media and sync it into the database (Example) ?
NOTE: The Wagtail's Collection function is good, but for more than 1000 images/documents into a single folder will be pretty awkward to manage for I in the…

VQH-cmd
- 51
- 2
- 6
1
vote
1 answer
Customizing Pages Awaiting Moderation panel on the wagtail admin home page
I'm trying to figure out a way to override what shows up in the "Pages Awaiting Moderation" panel on the wagtail admin home page. My content structure on the site's front end looks like this:
Home
Organizations
Org A
Org B
etc.
People
Profile…

David Martin
- 33
- 2
1
vote
0 answers
How to customize the Page type model's IndexView - the listing view in Wagtail Admin
I have multiple types of Page models in wagtail with parent page and subpages hierarchy. I want to customize the Index-view or the listing view to add more fields in all the pages under the main dashboard page in the Wagtail admin.
The Pages are…

Harpreet Sidhu
- 25
- 6
0
votes
0 answers
Customize Form for User adding/editing in admin Wagtail
I have customized user profiles in Wagtail by adding fields (drm, cpm). How can I modify the form, or more specifically, the values in the form's lists based on the currently logged-in user and their permissions?
Hello everyone, I have customized…

AIT HRA
- 1
0
votes
0 answers
Wagtail: How to use preview on editors page without Django templates?
I started to use Wagtail with the v2 rest endpoint and do not understand how to implement the preview.
I use Nuxt as a frontend and can not find how to integrate previewing on the page editor in Wagtail admin. Is this not possible/supported at the…

Philipp S.
- 827
- 17
- 41