So its not as simple as just laying out a directory structure appropriately?
Damn, here I was thinking I could have app1 find its templates in templates/app1 and app2 find its templates in app2, etc. I guess I had that impression from django itself -- *ugh* Thanks for the link, I'll take a look. Ryan On Tue, Aug 25, 2009 at 5:01 PM, Bruce Kroeze <[email protected]> wrote: > > On Tue, Aug 25, 2009 at 2:24 PM, lifewithryan<[email protected]> > wrote: > > > > I have a need to run the "Multi-Shop" functionality. My question is, > > after reading some blog tutorials on GoSatchmo.com -- I think I have a > > directory structure like the one mentioned in the project layout > > tutorial: > > > > /estore -- this is my main directory with settings.py, urls.py etc. > > /appname -- my custom app holding my custom product > > __init__.py, models.py, etc > > /templates -- my templates > > /shop -- copied over from satchmo > > /product -- copied over from satchmo > > > > > > My plan is that for my other "shops" i'll just add another "appname" > > directory like above. Having said that, how do I ensure that my > > templates remain unique on a per-site basis? (Meaning StoreA shouldn't > > use the same templates as StoreB) > > You could use my "site-skins" module: > http://bitbucket.org/bkroeze/django-site-skins/ > > -- > Bruce Kroeze > http://www.ecomsmith.com > It's time to hammer your site into shape. > > > > -- http://www.sudovi.com/ http://www.twitter.com/lifewithryan http://www.thecommontongue.com http://www.lifewithryan.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
