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
0 answers

wagtail translation parent_url() 'NoneType' object has no attribute 'strip'

I am struggling with that issue already few days and can't find any solution or what is the problem. after adding the localization to the app all the links in the main "homepage" (i used bakerydemo https://github.com/wagtail/bakerydemo) all are…
0
votes
2 answers

Wagtail & Django issues

I just updated from Wagtail 2.11.2 to 2.15.1 and Django 2.2.6 to 3.0. Everything works locally but when I deploy and visit the cms I get an internal server error. The error in django_errors.log is: Internal Server Error: /cms/ Traceback (most…
tfantina
  • 788
  • 11
  • 37
0
votes
2 answers

wagtail No module named wagtail.contrib

I did start wagtail fresh installation after I did and I want to use python instead python3 pip3 install wagtail wagtail start wagtail02 cd wagtail02 pip3 install -r requirements.txt when I try to do python manage.py migrate I get an error…
im-learning
  • 117
  • 2
  • 10
0
votes
1 answer

Pivot Table for Wagtail Form Builder for Polling and Votes purpose

I am trying to use Wagtail Form Builder for Voting and Polling purpose, and use HighCharts to display the results interactively on webpage. the problems is that Wagtail FormSubmission class only stores information of each vote. | vote user |…
Yan Tian
  • 377
  • 3
  • 11
0
votes
2 answers

manage.py error after Wagtail 2.15 upgrade

After upgrading to Wagtail 2.15 (or 2.15.1) from 2.14.2 my production website with postgres and database search breaks and commands that are run with manage.py give an error despite me adding the required WAGTAILSEARCH_BACKENDS to settings. I have…
0
votes
1 answer

How to present analytics report of survey & polling conducted via Wagtail Forms

I was trying to use Wagtail Form Builder for Survey and Polling purpose. I want to present the analytics report of all current submissions in charts format right below the survey form on webpage, for example, how much percent of visitors selected…
Yan Tian
  • 377
  • 3
  • 11
0
votes
1 answer

How to do email and phone validation in wagtail

models.py class PartnerFormField(AbstractFormField): page = ParentalKey( 'PartnerPage', on_delete=models.CASCADE, related_name='form_fields', ) class PartnerPage(AbstractEmailForm): template =…
0
votes
1 answer

Wagtail Create Snippet from the frontend to accepts Images (Django)

I have a simple snippet using Django Wagtail. I would like to be able to update the logo from a "CreateView" but when it renders in my view it's expecting a foreign key. I would imagine it would be easy to create a from to do this but it's…
sqwale
  • 554
  • 3
  • 24
0
votes
1 answer

Django: How to trigger a function whenever certain objects are modified from the wagtail interface

I have a long list of "Quotation" objects. The price of a quotation depends on dozens of children (and grand children) objects. The lowest one being the rate/hour. When I change the children objects of a quotation like the rate/hour, the quotation…
Vincent Roye
  • 2,751
  • 7
  • 33
  • 53
0
votes
1 answer

How is `class Blog(page)` linked to a specific `Page` in Wagtail CMS GUI?

I do understand how the routing of Wagtail works when a HTTP request arrives. site matching via hostname and port find the specific page via slug settings on Wagtail CMS GUI serve() of that specific page will be called However, above routing…
Yan Tian
  • 377
  • 3
  • 11
0
votes
1 answer

`django_comments_xtd` shared by multiple class models

I have a Django+Wagtail blog site integrated with django_comments_xtd as below: class PostDetail(Page): ... class Comment(XtdComment): page = models.ForeignKey('PostDetail', on_delete=models.CASCADE) def save(self, *args, **kwargs): …
Yan Tian
  • 377
  • 3
  • 11
0
votes
0 answers

`category` and `tag` shared by multiple wagtail page types

I have a Django+Wagtail website, and have category and tag created to be applied to blog posts. from taggit.models import Tag as TaggitTag from taggit.models import TaggedItemBase class PostList(RoutablePageMixin, Page): template =…
Yan Tian
  • 377
  • 3
  • 11
0
votes
1 answer

Django wagitail backend oracle migrate ORA-00907: missing right parenthesis

Django 3.2.9 Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production cx_Oracle 8.3.0 Python 3.7.6 I create a new project Wagtail and i change in setting.py Database section DATABASES = { # 'default': { # 'ENGINE':…
nickb84
  • 591
  • 2
  • 6
  • 11
0
votes
0 answers

How can I use the RichText editor draftail in Wagtail?

This is a very generic question so I don't have any code to show for it yet however I am wondering if anyone can give me a minimal example or guidance on how to use the draftail editor in Wagtail, but not in the admin, but on a public facing page. …
Kiwiheretic
  • 308
  • 2
  • 12
0
votes
1 answer

Override helptext in Wagtail EditView

I am trying to override the helptext that is set in my model in the wagtail admin (an edit view). I have tried the code below but the text is not changed, why is that? class MemberRegistrationEditView(EditView): def get_form(self): …
Andreas
  • 1,421
  • 3
  • 16
  • 32
1 2 3
99
100