I understand now where is the problem. Code in 
`helper.views.ajax_form_processor` was written when actual version of 
FormForForm was 
https://github.com/stephenmcd/mezzanine/blob/7405eefff94755c917f791a6ec19078bea1ce8ab/mezzanine/forms/forms.py#L77
 
but now it has `context` arg as a second argument.

среда, 8 января 2014 г., 1:05:20 UTC+7 пользователь Дмитрий Белавенцев 
написал:
>
> Hi all! =) I recently noticed some error in logs:
>
> Traceback (most recent call last):
>   File 
> "/home/admin/data/virtualenvs/grandsport/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 109, in get_response
>     response = middleware_method(request, callback, callback_args, 
> callback_kwargs)
>   File 
> "/home/admin/data/virtualenvs/grandsport/local/lib/python2.7/site-packages/mezzanine/pages/middleware.py",
>  
> line 112, in process_view
>     processor_response = processor(request, page)
>   File "/home/admin/data/virtualenvs/grandsport/project/helper/views.py", 
> line 46, in ajax_form_processor
>     form = FormForForm(page.form, request.POST or None, request.FILES or 
> None)
>   File 
> "/home/admin/data/virtualenvs/grandsport/local/lib/python2.7/site-packages/mezzanine/forms/forms.py",
>  
> line 174, in __init__
>     initial_val = Template(field.default).render(context)
>   File 
> "/home/admin/data/virtualenvs/grandsport/local/lib/python2.7/site-packages/django/template/base.py",
>  
> line 138, in render
>     context.render_context.push()
> AttributeError: 'QueryDict' object has no attribute 'render_context'
>
> Could anyone help me with understanding why it happens and how to fix it?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to