1👍
You cannot if I remember right, this kind of operation is in-secure. The file storage backend would warn it.
You could either customize the storage backend, or upload to directory like /media/user_template
and set it in TEMPLATE_DIRS
.
If you only want to use dynamic templates, check django-dbtemplates as a DB-based solution.
👤okm
- [Answer]-Django livesettings – greyed out group
- [Answer]-Django queryset filter model attribute against other model attribute
- [Answer]-Template changes are not appearing in Django admin site
- [Answer]-Case insensitive search using a method in Python
- [Answer]-Django Query: Annotate with `count` of a *window*
Source:stackexchange.com