On Wed, Sep 12, 2012 at 11:39 AM, Thomas Orozco <tho...@orozco.fr> wrote: > Can you being up a manage.py shell and load the template from there to > identify where's Django is pulling the template from?
I'm trying to do that, but I get: >>> t = Template('/path/to/template.html') >>> t.name '<Unknown Template>' I get the even on my Mac, where it is working, so clearly I'm doing something wrong. > You should be able to go step by step and identify where you're pulling the > old template in! > > If you don't find anything, it's probably because your template actually > isn't different from the older one. > > You should be able to do that using pdb and the Django code base :-) I may resort to that. > There might be a quicker way though, I'll have a look at it. > > Thomas > > On Sep 12, 2012 5:59 PM, "Larry Martell" <larry.mart...@gmail.com> wrote: >> >> On Wed, Sep 12, 2012 at 11:56 AM, Thomas Lockhart >> <tlockhart1...@gmail.com> wrote: >> > On 9/12/12 8:27 AM, Larry Martell wrote: >> >> >> >> On my Mac, I changed a template, and the change was picked up, no >> >> problem. I checked my change into git, went to another machine, a >> >> CentOS box, pulled the change down, but django is not picking it up. >> >> I've tried everything I can think of - bounced the server, restarted >> >> the browser, cleared the cache and cookies, tried 3 different >> >> browsers, deleted it, re-pulled from git, but when I look at the code >> >> in the debugger, it's clearly using the old template. There are no >> >> errors in the apache log, permissions are fine, I'm tearing my hair >> >> out here. Anyone have any ideas as to what's preventing it from >> >> picking up the new template, or what I can check to figure out what's >> >> going on? >> >> >> > Need to collect static content for your production server? >> >> I had already tried that (even thought this change did not effect the >> static content). >> >> -- >> 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+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.