Hi there,
Is there a way of using the Wagtail image chooser from outside of Wagtail Admin, for example when you're editing a model using the normal django admin?
In my case, I have a web app where users have a number of established workflows which rely heavily on some features of Django admin, but where the public facing content is an ideal for managing using Wagtail's admin workflow.
So, I'm hoping I can make the case for people to adopt Wagtail for things that look more like traditional content (we're looking to overhaul how public content is managed), and for the rest, stay with Django admin for the time being.
However, there are cases when images are likely to be reused across the two workflows, and I really like the UX for Wagtails's image chooser.
From what I can see, it looks like someone else has tried to do a similar thing, outlined in this post:
However the editors_pick.html template no longer is there for me to look over to see how it worked.
My best guess so far, based on what I've learned
I can see some code which looks recognisable here (I've never really hacked on Wagtail before), based on the routes I'm seeing:
I've got a rough idea about how I'd go about doing this now, but before I embark on such a quest, has someone already done this, and made these choosers accessible from the vanilla django admin?
Where be dragons?
As I mentioned before, I'm not too familiar with Wagtails innards, so this whole enterprise could be a terrible idea - if it does sound like it, and there is a whole thicket of gotchas ahead of me (I just want a consistent upload and choosing experience for images), it would be nice to hear from someone who's got the scars already :)
Many thanks to everyone who's worked on Wagtail so far, it's a *lovely* project.
Chris