Hi Michael, I'm looking for a similar option to allow users to upload their own templates for theming purposes.
Did you find any solution to this? Thanks, Mitesh On Friday, July 10, 2020 at 2:52:36 PM UTC+5:30 michael.t...@gmail.com wrote: > Hi all, > > Does anyone know of a straightforward way to create an independent > template engine instance with a subset of the tags/filters/etc. defined? > > The use-case is for allowing user-supplied template content, while > preventing said users from being able to use features that could be > dangerous, leak information, etc.. (Eg. {% extends %}, {% load %}, > {{my-secret-variable-that-is-loaded-into-global-context}}) > > Kind Regards, > Michael > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0cfda0d4-36f0-4888-b40a-a27d889440b6n%40googlegroups.com.