Should also mention that in moving from win32 to darwin, I also migrated from 0.96 to 1.0, and made the appropriate changes to make admin work, as per the porting guide on docs.djangoproject.com.
Ross. On Oct 30, 2:26 pm, RossGK <[EMAIL PROTECTED]> wrote: > Moving development from win32 to mac and one little thing I don't > understand about template paths. > Got django set up and DB in place etc, and was able to use the admin > functions to populate some DB content. Everything seemed fine. > > But, initially on the Mac, my templates weren't being found, though my > urls.py seemed to be pointing in the right direction. > > I'm probably forgetting something I knew when on win32 a few months > back - but I noticed that the settings.py has a TEMPLATE_DIRS > variable, and so I put the path to my templates and server-side > content there. > > Everything is working fine now, and development continues. BUT if I > try to go and use the admin feature to do database stuff, I get a > failure to connect from my browser. If I comment out the > TEMPLATE_DIRS path that I added, admin pages can again connect. > > Now, sure I can find and add the path to the admin templates to > TEMPLATE_DIRS - is that the right approach, or am I getting into > kludgy land here? Any thoughts about how django was finding my > templates back when I was on PC (which I don't have anymore) without > using TEMPLATE_DIRS? > > Any help is appreciated. > > Ross. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---