I had to restart the server a couple of times and it seems like I need to do this anytime I make changes to my urls and such. I thought I could just use touch for whatever modified file and the changes would be reflected. Would you recommend setting my CACHE vars up differently during development to help with these issues?
CACHE_BACKEND = "memcached://123.456.789.000:11211/" CACHE_TIMEOUT = 60 * 5 CACHE_MIDDLEWARE_SECONDS = 60 * 60 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True On Oct 29, 3:33 pm, Bob Waycott <[email protected]> wrote: > Have you restarted the server instance? > > On Thu, Oct 29, 2009 at 5:07 PM, neridaj <[email protected]> wrote: > > > Hello, > > > I'm having some problems with urls and templates being inconsistent > > upon browser refreshes. I have a base url file at the root of my > > project that inherits my store urls which in turn inherit the satchmo > > urls: > > > from django.conf.urls.defaults import * > > from domain.store.urls import urlpatterns as storepatterns > > > # Uncomment the next two lines to enable the admin: > > from django.contrib import admin > > admin.autodiscover() > > > urlpatterns = patterns('', > > (r'^toolbar/', 'store.views.custom_show_toolbar') > > (r'^admin/', include(admin.site.urls)), > > ) > > > urlpatterns += storepatterns > > > I originally had some other urls configured in my base urls but in > > troubleshooting I deleted them leaving only what is listed above. > > However now if I look up one of the non existent urls, and refresh the > > page, I will see the rendered template for the url. If I keep > > refreshing it will sometimes render and sometimes not. I'm also having > > this sort of behavior happen with templates, where sometimes the > > incorrect default templates show and sometimes the correct styled > > templates show. > > > It seems like I have a caching problem but I'm not sure how to fix > > this. I'm using nginx for static content in front of apache and > > mod_wsgi, If you have any ideas I would appreciate any help. > > > Thanks, > > > J --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
