Hey django-users,

I've got a form in my django app that contains a select box that is
dynamically generated from a db object.  In this case, it's a list of
clients.

When a user adds to the client list (via another django app), the
'client' select box isn't updated with the new value(s) the next time
it is loaded.  This sounds like a caching issue.

I've attempted to disable caching in the affected views by doing the
following:

from django.views.decorators.cache import never_cache
@never_cache
def create(request):

Unfortunately, it's not working.  Any help would be much appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to