On Wed, May 27, 2009 at 3:31 PM, Jim <jim.heffe...@gmail.com> wrote: > > Hello, > > Suppose that I have a form ShowLatestUpdates that shows some things > from a database. An hour later, the list of things to show is > different. But the form shows the data from when it was initialized. > Something like > ShowLatestUpdates().update() > doesn't work, I expect because it initializes and updates an instance > that is not the one Django is holding. How do I access the one Django > has got? (Sorry for what must be a common issue but I've googled > around a lot, including on this group, but not found any code > illustrating what to do. I must not know the right words.) > > Thanks, > Jim > > > What you've described is exceptionalyl vague, anything defined at compile time won't change, but anything inside a function/method should change. Can you post some code so we have a better understanding of what exactly your issue is?
Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---