Thanks Rajesh - I'm not sure if that was the whole problem, but it seems to've been part of the solution. Login's working! Time to enjoy a milk-bone in a commie-free world...
bc On Mar 12, 1:36 pm, Rajesh D <rajesh.dha...@gmail.com> wrote: > On Mar 12, 1:22 pm, bcrem <billc...@gmail.com> wrote: > > > > > Hi Folks, > > > Problem Summary: How the heck do I clear ALL caching on my server; > > python, apache, the works? > > > So I'm updating a third-party library I've been using (implements > > openID for my site - very cool stuff from Benoit Chesneau). It's > > giving me fits though; I can't seem to shake the ghosts of previous > > functionality no matter how hard I try. > > > Originally I had a soft-link to this code, which lived outside my > > application's directory tree. I've modified the templates it uses > > though, and have been trying to copy these mods onto my production > > site (it works locally). However, when I copy my changes in place - I > > see no change to my login pages! In an effort to force the correct > > code to be used, I've ditched the soft-link and copied the code right > > into my application space. And yet, I still have issues...here's the > > latest: > > > "ImproperlyConfigured: Error importing middleware > > django_authopenid2.middleware: "No module named > > django_authopenid2.middleware" > > > I know this module exists - I can vi django_authopenid2/middleware.py, > > no problem. And I believe my settings.py is correct: > > > MIDDLEWARE_CLASSES = ( > > ... > > 'django_authopenid2.middleware.OpenIDMiddleware' > > ) > > > Any suggestions or clues here would be greatly appreciated. > > You will need to make sure that the parent directory of > 'django_authopenid2' is in your PYTHONPATH. > > Also, to ensure that the right Django templates are used, put > 'django.template.loaders.filesystem.load_template_source' first in > your TEMPLATE_LOADERS setting. Also make sure that the TEMPLATE_DIRS > setting contains the path to the directory holding the templates you > customized and that this directory appears first in that list. > > -Rajesh D --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---