That function should at least return somewhere, I guess to the caller which might be a "view" function that returns a HttpResponse.
Anyway, You should consider putting code that updates the database in the "model". Marc On Sep 9, 4:25 pm, elminio <wgruszczyn...@gmail.com> wrote: > Hello, > > I assume that each view should return Httpresponse. What when I just > want to execute function which updates my databes and doesnt redirect > anywhere ? > > thanks for reply --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---