Do you know what version of Mezzanine you are running? At some point the signature of FormForForm was updated to take a RequestContext as well so that could be it. Check out the current form processor to see an example of the current usage, https://bitbucket.org/stephenmcd/mezzanine/src/28e9781a87f263f21e0c3372cd2656bb6f742acb/mezzanine/forms/page_processors.py?at=default#cl-25
Let us know how it goes. On Tue, Jan 7, 2014 at 10:05 AM, Дмитрий Белавенцев <[email protected]>wrote: > 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. > -- 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.
