The template system uses pluggable loaders that can locate a template based 
upon it's name. So using that you can store your template anywhere. There is 
already an app for storing templates in the db, you could easily make one to 
store it somewhere else as well. 


On Wednesday, October 19, 2011 at 5:48 PM, Kurtis wrote:

> I'm working on a project where I will eventually need to be able to
> add/delete/manage templates on the fly. Our Django Application Servers
> are setup as a cluster behind an Nginx Front-end Server.
> 
> We're not at that point, yet -- but I wanted to see if there's any
> architectural issues I need to prepare for. I was thinking we could
> store them on some sort of a networking file system but then I worry
> about load-times and stability. We could store them in a database but
> I imagine that may slow things down even more, plus we'd have to build
> some sort of a system for pulling templates from the database.
> 
> If anyone's attempted this sort of thing before, I'd be interested in
> hearing some options you took and the outcome.
> 
> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com 
> (mailto:django-users@googlegroups.com).
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com 
> (mailto:django-users+unsubscr...@googlegroups.com).
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 
> 


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to