Questions tagged [wagtail]

Wagtail is a Django content management system (CMS), focused on flexibility and user experience. When using this tag, you may also want to add the [django] tag to improve visibility.

Wagtail is a content management system built originally for the Royal College of Art and focused on flexibility and user experience.

Its features include:

  • A fast, attractive editor interface
  • Complete control over design with standard Django templates
  • Configure content types through standard Django models
  • Tightly integrated search (with an Elasticsearch backend for production)
  • Strong document and image management
  • Wide support for embedded content
  • Simple, configurable permissions
  • Support for tree-based content organisation
  • Optional preview->submit->approve workflow
  • Fast out of the box. Varnish-friendly if you need it

Useful links

2300 questions
0
votes
1 answer

Display Multiple BlogPosts on Blog(Index)Page

I am trying to have the PostPage and EditorialPage show on the Blog(IndexPage). I know it has something to do with the fact that it's only calling the EditorialPage because of: def get_posts(self): return…
Sterl
  • 17
  • 1
  • 6
0
votes
1 answer

Wagtailmenus: how to access Page fields from first level menu?

I'm using Wagtailmenus 3.0.2. The documentation says: If the template is for rendering the first level of a main or flat menu, then menu_items will be a list of MainMenuItem or FlatMenuItem objects (respectively). In all other cases. it will be a…
Redjam
  • 474
  • 3
  • 12
0
votes
0 answers

Wagtail editor deletes content

An intern created a Wagtail site at our company. I am in charge to fill a page with our Terms And Conditions. This is hard because Wagtail is deleting or skipping content. There is a pattern to this behavior. Perhaps it gets triggered by the…
0
votes
1 answer

How to validate that each wagtail page will have a unique slug?

I have several models that inherit from Page and I'd like to check that each page that is being added/edited has a unique slug. Is there a way to validate it without overriding the clean method?
SKUSER93
  • 31
  • 6
0
votes
2 answers

Wagtail. Ability to edit html within editor

My editors want to have an ability to edit raw html within editor. For example, we can have simple list markup:
  • Some text
Or with custom classes and event tags:
0
votes
1 answer

Programmatically creating permissions for pages and collections in Wagtail

I'm wondering if anyone has examples of how to create permissions in Wagtail for collections and pages and then give specific users access to that role. I see how to create the Collections and AuthGroups easily, but I don't see how to specify the…
0
votes
2 answers

Wagtail superuser unable to log in to CMS

I'm new to Wagtail and django. I've completed the https://learnwagtail.com/wagtail-for-beginners/ course and managed to get my site up and running on Digital ocean, however I'm unable to login to the admin area. I have tried using the superuser…
SilentDesigns
  • 505
  • 2
  • 7
  • 22
0
votes
1 answer

Routablepage of the BlogPage/category

I fail to display the routable index page for categories/given category. My code uses: -BlogCategory(model) -BlogPageBlogCategory (page) an intemediary structure that links to: -PostPage(page) I can pass the code to the post_page template, but when…
donbonbon
  • 81
  • 1
  • 8
0
votes
1 answer

How do I get regularly updated external data into Wagtail?

I'm building an app that needs to know about entities outside of the CMS; files in a storage location, stuff in remote REST APIs, etc... Those things are changed by apps and services external to my Wagtail app. Until now, my approach would have been…
0
votes
1 answer

Wagtail embedding images with HTML

We use StreamField to allow editors to add HTML for custom layouts. We used to be able include images in by looking up the ID of the Image and an embed code: Since performing…
Zemogle
  • 584
  • 4
  • 16
0
votes
1 answer

Multiple FeaturedPost on HomePage Using Wagtail

I haven't seen any question like this on the site. So hopefully this question will be useful for others in the future. I have a PostPage, EditorialPage, and DocumentPage. Within the models of the three, I added a 'featured' Boolean, so that if…
Sterl
  • 17
  • 1
  • 6
0
votes
2 answers

How to update Wagtail static files, they stopped working when I used STATIC_DIRS

I'm trying to update Wagtail from version 2.8 to the latest 2.15. Also, I had to update from Django 3.0 to 3.2. However, I noticed that when I use STATICFILES_DIRS, the style of the Wagtail admin (2.15) gets distorted as if it's using the files from…
cbarboza
  • 3
  • 1
0
votes
1 answer

Wagtail admin display issues

I'm working with wagtail and I'm using microsoft edge browser for editing the content of my website. When I'm inside the edit mode of one page, the left edge of the page is cut off (see screenshot below). I also tried other browsers with the same…
bripu
  • 13
  • 3
0
votes
1 answer

How to override the default wagtail page slug

I'm trying to make a wagtail pages for the astrologer based on category, country and city. And my url's are: https//localhost:8080/ https//localhost:8080// https//localhost:8080// If I am…
Amitjoc
  • 83
  • 4
  • 9
0
votes
1 answer

Wagtail Search in CMS

I'm trying to search through all of my pages on the backend to find instances of urls with outdated domain names. But when I search, it only seems to get hits based on the title of the pages, and not their content. Is there something I need to…
sine1son
  • 1
  • 1
1 2 3
99
100