The problem is FF does not like it if you do not consume the POST
data.
Just add the line
request.POST
somewhere in your view before redirecting.

Koen

On 28 apr, 17:33, yml <[EMAIL PROTECTED]> wrote:
> Hello,
> I noticed a very strange behavior with the generic view called :
> "delete_object". The symptom is the following :
>   * Firefox return an error message
> -------------------8<---------------------------
> The connection was reset
>
> The connection to the server was reset while the page was loading.
>
>     *   The site could be temporarily unavailable or too busy. Try
> again in a few
>           moments.
>
>     *   If you are unable to load any pages, check your computer's
> network
>           connection.
>
>     *   If your computer or network is protected by a firewall or
> proxy, make sure
>           that Firefox is permitted to access the Web.
> ------------------->8---------------------------
> It seems that the bug is in Firefox code. The same code is working
> fine on IE 6.0 and Opéra, I am testing this on windows.
>
> My code look like this (extracted form urls.py):
> -------------------8<---------------------------
>  url(r'^delete/(?P<slug>[-\w]+)/$', delete_object,
>         {"model":Survey,
>          "post_delete_redirect": "/survey/editable/",
>          "template_object_name":"survey",
>          "login_required": True,
>          'extra_context': {'title': _('Delete survey')}
>         },
>         name='survey-delete'),
> ------------------->8---------------------------
> It would be nice if someone could help me with a workaround or a
> solution.
>
> Should I report issues in the django bug tracker ?
> Thank you for your help.
> --yml
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to