How would you allow users to extend off a Django site for templating purposes?
I'm building a Django site, and like开发者_Go百科 a blog, I'd like users to further extend the content off the site by "skinning" through templates.
I'd like to re-use Django templating for this, I've been brainstorming on this but haven't gotten a solid idea how I can do this, can I hear some of your brilliant suggestions?
Thanks!
Probably the cleanest way is to write really semantic HTML, allow various bits of it to be configured using dbsettings (e.g. site names etc), then allow the user to add their own CSS file (perhaps by allowing the path to a CSS file to be managed through dbsettings).
精彩评论