wagtail Questions
1
Solved
I am working on a Wagtail project consisting of a few semi-static pages (homepage, about, etc.) and a blog. In the homepage, I wanted to list the latest blog entries, which I could do adding the fo...
1
Solved
I've been using Wagtail as a headless CMS to use with a frontend application, However I noticed some limitations regarding images. Normally in your jinja template you would generate the correct ima...
Gumm asked 17/8, 2017 at 10:25
2
Solved
Recently I have been trying to get wagtail to work with my existing Django application. I was experiencing an error: -
ImportError: No module named wagtail
unable to load app 0 (mountpoint='') (ca...
1
Hi this is mostly a copy paste of a question asked in Google groups:
Thanks to Wagtail docs, I was able to understand how to build a custom image model, BUT, as I have a website with more than 50...
Delative asked 30/1, 2017 at 8:31
2
Solved
In Wagtail CMS I don't know how to construct a link to a specific page. I want a (fixed, not authored) link in the templates from my BlogIndexPage to my BlogIndexArchivePage and vice versa.
In the...
Varicose asked 1/8, 2015 at 21:1
1
Solved
When using Django ModelAdmin, I can use:
filter_horizontal = ('some_many_to_many_field',)
So that, instead of showing the default multiple select widget, it shows a nice interface with two bloc...
Sepaloid asked 23/3, 2017 at 20:14
1
Solved
Using Wagtails Modeladmin:
Is there any way to disable edit & delete options leaving only the inspect view?
A possible approach that I can think of, is extending the template, removing the e...
Zacatecas asked 15/3, 2017 at 21:21
1
Solved
I'm stepping into the Python world. First I learned a little Python. Then I learned the basics of Django, and on top of that I'm learning Wagtail (framework for template managing for Django)
To lea...
2
Solved
I am using wagtail as a REST backend for a website. The website is built using react and fetches data via wagtails API v2.
The SPA website needs to be able to show previews of pages in wagtail. My...
Tambac asked 1/3, 2017 at 18:50
1
Solved
I've used Wagtail's ModelAdmin on a few other projects with great success, but this is the first time I'm attempting to use it with a model inheriting from Page.
I copied the simple example templa...
Gladygladys asked 20/2, 2017 at 22:32
1
Solved
I'm setting up a model that needs to be created with a number of instances of a sub-model. I want to be able to edit and create this model in the admin interface so I'm adding it using ModelAdmin. ...
1
Solved
I've added a puput blog to an existing Django project. I followed all the steps for setting up a standalone blog app (https://puput.readthedocs.io/en/latest/setup.html).
It works fine in that I no...
Shocker asked 5/2, 2017 at 7:47
1
We have a blog-like wagtail site and would like to add comments to our post types. Each post is a page object.
We thought about using django-contrib-comments or implement an own plain django comm...
1
Solved
This is the model for icons displayed on top of a text, they get a name and the icon.
from django.db import models
from django.utils.translation import ugettext as _
from django.conf import settin...
1
Solved
I'm attempting to create a custom Wagtail sitemap that includes 'changefreq' and 'priority'. The default is just 'lastmod' and 'url'.
According to Wagtail docs (http://docs.wagtail.io/en/latest/ref...
1
Solved
I would like to achieve something like this,
from wagtail.wagtailcore.blocks import StreamBlock, StructBlock
class CarouselBlock(StructBlock):
content = StreamBlock([
('tab', TabBlock()),
('...
Firdausi asked 15/6, 2016 at 11:3
2
Solved
I have the following code to get the child pages of the current one:
{% for subpage in self.get_children %}
...
{% endfor %}
This is used, for example, to show a gallery of images (each childre...
1
Solved
I am trying to build some structured snippets on my Wagtail site. I looked through the documentation, but saw nothing on this point (forgive me if I missed it).
Is it possible to use StreamField i...
Dashtilut asked 5/5, 2016 at 12:48
1
I've got the situation where a Wagtail snippet is a model that has a FK relationship. I can't figure out how to make that available in the CMS as an inline.
Given:
@register_snippet
class TeamMem...
Zoosperm asked 31/3, 2016 at 15:5
2
Solved
I am working on a small project and I thought I'd give wagtail a try. I am now wondering how I could change wagtail's admin logo in the sidebar (top left image on the picture bellow).
I could ch...
1
Solved
I'm doing a migration from an old site, and I need to programmatically add raw html to a StreamField on a Wagtail page. How do I do it?
1
I struggle to implement something like "nested categories":
PageA:
- Cat1
- SubCat1
- SubCat2
- ...
- Cat2
- SubCat1
- ...
All categories and subcategories should be orderable and editab...
Deoxyribonuclease asked 11/11, 2015 at 13:37
1
Solved
I want to add an dynamic wagtail image to my template with the source.
When I do:
{% load wagtailcore_tags wagtailimages_tags %}
{% image page.specific.main_image width-400 %}
The output is:
&...
1
Solved
I don't found proper way to update Wagtail CMS Page context.
For instance i have my homepage model:
class HomePage(Page):
about = RichTextField(blank=True)
date = models.DateField(auto_now=True...
2
Solved
In Wagtail CMS, I'm trying to create an index page that will display a list of all its child pages along with a featured image associated with each child page.
I have created these two page models...
© 2022 - 2024 — McMap. All rights reserved.