Nigel van Keulen

Results 29 comments of Nigel van Keulen

Did you delete the image file or the image model? By the looks of the TS file - it should **not** be able to reach that without a valid ID,...

> Here you go: > > > I guess something needs to be done here, not? The JS is breaking the whole page editor. The API call for the image...

> > I would love to know more detail > > When I try to access `TaskSelectWidget().choices` elsewhere, `self.celery_app.loader.import_default_modules()` causes a circular import error in the project's urls.py. You likely...

I have implemented this in my own project with machine translations. In my own project, I use a custom implementation of `MachineTranslator.translate` - I created `MachineTranslator.translate_text(source_locale, target_locale, text: str)`. This...

> Plus one and a comment: I've done this (extensively) in Django by using Wagtail-inspired field "control" classes that specify options for toggle (boolean fields) and on select (choice fields)....

> I think the 'why' part of your question would be because the method is from `django-treebeard`'s `MP_Node` class. So, it's not wagtail-specific code per se. It might be an...

> @Nigel2392 can I ask for confirmation on exactly what is being proposed here? I don't think we can realistically class a view making one more query than expected as...

> @Nigel2392 in response to your question... > > > If we're worrying about memory usage - should we really be writing Python with Wagtail when you can write something...

I rely somewhat on the previewpanel - will the way of sending form data to the preview page to update the preview still be available? Also wondering about these queryselectors......