Coen van der Kamp
Coen van der Kamp
Nope, the project I was working that required any-of is canceled so I lost my funding (and motivation). Anyone who likes to work on this, go ahead!
My `Cat` and `Dog` schema's are quite similar. Only the subschema's are different (`CatThings` and `DogThings`). I used a `discriminator` and `mapping` to tell them apart. I did some manual...
I also had the requirement to have two queues. One for quick notification tasks and one for long running management tasks. I wanted them both to use the Django ORM...
@thibaudcolas Is it okay to add this breaking change to a major Wagtail release? Without a deprecation process? Since we have majors more often, we could just set the milestone...
On the templates vs static files: I fail to see what benefit static files give us. We do not need to serve individual icons. We process the individual icons and...
Okay, for serving icons individually, we don't need a view in Wagtail. Then icons are best stored and served as regular static files. No doubt. But, can we do without...
There are probably multiple implementations of list filters in Wagtail (ModelAdmin, Snippets, Pages(?)). Just wanted to mention that the Wagtail ModelAdmin uses [Django ModelAdmin List Filters](https://docs.djangoproject.com/en/4.1/ref/contrib/admin/filters/). Django ModelAdmin List Filters...
The comment states that the _timezone is naive_. To obtain the local time in the current time zone: ``` from django.utils import timezone timezone.localtime(timezone.now()) ``` I also think this code...
A bit late, but might be useful in the future: https://github.com/wagtail/bakerydemo/pull/368
You'd have to register a collection as a snippet to get a modal. ``` from wagtail.snippets.models import register_snippet from wagtail.core.models import Collection register_snippet(Collection) ``` The downside is that this also...