[Fixed]-AttributeError at /edit/ 'RequestContext' object has no attribute 'flatten' (Django 1.6.7)

1👍

It seems like the flatten property was introduced to the Context object in the version Django==1.7.

https://docs.djangoproject.com/en/1.7/ref/templates/api/#django.template.Context.flatten

You may need to downgrade your django-crispy-forms version.

Leave a comment