I'm looking into building a set of open source reusable apps for Django
and was wondering what the currently accepted best practice was for
defining base templates for reusable apps was?
I want my reusable apps templates to be easy to slot into an already
existing site design but I'm unsure of the best way of achieving that.
Should I define a base template in the app itself that basically works
on the whole of the app? If I did that what would be the best way of
letting other people modify that base template?
I really just want my app to fit into other users projects with the
minimum amount of fuss.
I guess I could specify the views myself and let the user create the
templates themselves. Would that be a decent option? That would allow
the user to design the templates in the best possible way.
Having said that I would also like to provide some default templates
that people could use if they didn't want to bother designing the
templates themselves. How could I allow them to override the default
template supplied by the view?
Any hints would be greatly appreciated :).
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/554D23C5.4060002%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.