jqb / django-settings

Application to keep simple settings in database. Based on the contenttype framework.
BSD 3-Clause "New" or "Revised" License
83 stars 47 forks source link

Fixed bug when rendering change form in admin site in django 1.3+ #6

Closed ygneo closed 11 years ago

ygneo commented 11 years ago

This fix makes the admin site work, by setting the context for the template in the right place when using django 1.3+

jqb commented 11 years ago

Hi

thanks a lot for contribution. Can you tell what is the problem? I've tested it with django-1.4 and things seems to be fine for me. Also please add yourself to "contributors" section in README file :)

Thanks, Jakub

ygneo commented 11 years ago

When rendering the change form in the admin, Django was launching an attribute error since 'context_data' is not a valid attribute for HttpResponse objects.