For those unfamiliar with white-labeling, we would like my site (call it "Amazing Site") to be able to be customized by sponsors A and B. Customer A provides us with their header, footer, css, and we can do *basic* re-branding, in order to present the site as "A Amazing Site" (or B's Amazing Site).
I have considered rolling my own by changing the base template. So instead of
{% extends "base.html" %}
I would pass in a variable from the view:
{% extends site-base-template %}
Have others tried this? Are there existing strategies? Perhaps a django app that takes care of this?
Thanks,
Greg
-- 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment