-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Absolute Path for Odt Models, not only from template folder. #2
Comments
The idea is quite reasonable, but it's achievable right now without altering the code. If you want to serve templates outside your Django installation path (which can be the epic security hole btw), you can just configure the filesystem loader's
Please let me know what do you think about this way of tackling the problem. Does it work for you? |
In regard to |
Not really a Issue, but more a feature: Allow absolute path for template odt, as I would like to not use a template from template folder.
One might be able to get a file from a Model FileField and use it as the odt model. This may be accomplished by trying to get the template from the provided path first, if it fails, try loading from the template folder (or vice versa).
I'll try to implement this on my fork and pull request it later.
Thanks for this awesome project, by the way. Also saw a nice jabber related project of yours. I am also interested on that one as I have some solution that sends. I'll test it later against the latest Spark Server.
The text was updated successfully, but these errors were encountered: