thank you, you were right. It was an apache problem.

Miguel
Sent from: Madrid  Spain.

On Mon, Mar 30, 2009 at 4:43 PM, Thomas Guettler <h...@tbz-pariv.de> wrote:

>
> Hi,
>
> If you only change the method, but no model, you don't need to call
> 'syncdb'.
>
> If your webserver is configured correct, then you just need to hit ctrl-r
> (reload
> in firefox).
>
> This should work if you use the development server of django. If
> you use apache with mod_wsgi you need to set  maximum-requests=1. This will
> reload
> you code for every request. Of course the production server should have a
> different
> value.
>
>  HTH,
>   Thomas
>
>
> Miguel schrieb:
> > Hi all,
> >
> > I have a model where I have defined a method :
> >
> >     def print_html(self):
> > [...]
> >
> >
> >
> > I have changed this method but no change is observed in the web page. It
> is
> > still working the old model method.
> > How can update this?
> > python manage.py sqlall
> > and
> > python manage.py syncdb
> >
> > doesn't seem to work. Could anybody help me?
> >
> >
>
> --
> Thomas Guettler, http://www.thomas-guettler.de/
> E-Mail <http://www.thomas-guettler.de/%0AE-Mail>: guettli (*)
> thomas-guettler + de
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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