2,419 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
41
views
Reverting to previous Wagtail PageRevision fails because of hidden ValidationErrors of attached Inline models
I can't revert to previous PageRevisions of TestPage because of hidden ValidationErrors for attached inline TestChild instances. Instead of a useful error message, I get a generic message:
The page ...
0
votes
0
answers
33
views
Wagtail: Show panels in "create" tab of snippet chooser dialog
I have a snippet with some panel definitions. The create view for the snippet looks as expected when creating it in the snippet admin.
I would now like this same form to render in the chooser views &...
0
votes
1
answer
51
views
How can I set a fixed iframe height for custom preview sizes in Wagtail’s page preview?
I’m extending Wagtail’s built-in preview sizes to include some additional device configurations. Wagtail natively supports device_width, but not device_height. I’d like to define both width and height ...
-2
votes
1
answer
85
views
How to enable bulk delete in Wagtail Admin [closed]
I’m currently working on a project using Wagtail 2.1.1 and Django 2.2.28.
In Django Admin, there’s a built-in bulk delete action that allows selecting multiple records and deleting them at once.
...
1
vote
0
answers
34
views
Extending wagtail richtext link chooser
I wan't to extend the default link chooser in wagtail richtext. I came a pretty good way adding form fields to the Link Chooser (beside the internal Page Chooser view, but thats ok for now) and I also ...
0
votes
1
answer
60
views
How to write a custom document upload form in Wagtail
I've recently been working on a simple CMS website using Wagtail, and I'd like to mitigate file upload risks by implementing file size limits.
I know that Nginx can be configured using ...
0
votes
1
answer
53
views
How to make Wagtail ObjectList tab visibility depend on user group instead of superuser in Wagtail 7.1
I’m using Wagtail 7.1 and trying to customize the edit interface using a custom tab layout as described in the docs:
Customizing the tabbed interface.
According to the documentation, you can restrict ...
0
votes
0
answers
35
views
Retaining relative URLs in Wagtail with multi-site configuration
On adding a second site to a Wagtail instance, the page url's returned from links selected via the Page Chooser are changed from being relative to fully qualified.
This is causing problems for the ...
0
votes
1
answer
75
views
Requests to the root URL of a multilang website cause error when DEBUG=False
I am building a bilingual Wagtail website, following directions in the Wagtail documentation.
With DEBUG = True in the website settings, all works as expected : one can navigate between english and ...
0
votes
0
answers
56
views
Wagtail login downgrades to http, gives error
I am setting up a local, Dockerised version of a Django Wagtail project (which I have had running locally before). I am able to see Pages in my browser, but when I try to login (on FF, Chrome, Safari-...
1
vote
2
answers
154
views
Wagtail - How can I use a custom StructBlock with programmatically assignable default values?
I have created a StreamField for some of the site's settings. This StreamField contains a collection of a custom StructBlock, named FacetBlock. FacetBlock contains a BooleanBlock, a CharBlock, an ...
0
votes
0
answers
36
views
Update LANGUAGE_CODE in Wagtail before internationalization?
I've developed a site in Wagtail, but missed to update the LANGUAGE_CODE before the first (and several other) migrations. In the Internationalization instructions the following is noted:
"If you ...
0
votes
0
answers
36
views
RoutablePageMixin and context_overrides
I have the following code more or less like the example from https://docs.wagtail.org/en/stable/reference/contrib/routablepage.html.
The Doc suggests, that i can use context_overwrite to overwrite the ...
0
votes
0
answers
50
views
Setting permissions between edit and view only in wagtail
In my Wagtail project, I have a class that inherits from EditView(modelAdmin). Within this class, I override the get_edit_handler method to dynamically set fields as read-only based on user ...
0
votes
0
answers
43
views
wagtail admin partial css styling problem
I'm beginning to have a strange problem in admin: wagtail admin edit option of RichTextField ( with embed insert image,document,link,url) have no styling css! Until now, it worked fine. Possible I've ...