If you have your TEMPLATE_DIRS setting configured correctly, per standard Django docs/style, then you should be able to override templates by placing only those templates you need to modify inside your template directory in the same folder hierarchy that they are found in their own apps.
Example: If overriding shop/base.html: your_project_dir/ -- templates/ -- -- shop/ -- -- -- base.html On Thu, Oct 29, 2009 at 8:25 PM, neridaj <[email protected]> wrote: > > Hello, > > After checking out various satchmo configurations I'm a little > confused on overriding templates. I copied the whole satchmo_store/ > shop/templates directory into my project directory and replaced the > base.html and shop/base.html files. I notice that there are a lot of > other templates outside of the main shop/templates directory I copied > and I'm not quite sure if I need to be pointing my TEMPLATE_DIRS to > more than just my local copy. > > Do I need to copy all the other templates i.e., contact, accounts, > etc., locally as well? Do the shop templates I copied magically > inherit those other templates? I was using a configuration that was > working fine for a while until yesterday when I had all these template > recursion errors and inconsistencies, which I'm not sure were related > to restarting my server or using 3 template directories. As of now I > have my TEMPLATE_DIRS only pointing to my locally copy and everything > appears to be working correctly but I'm not sure how those other > templates are being loaded. > > Thanks for any clarification, > > Jason > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
