divio/django-cms — Issue #1191: pageadmin.py returns HttpResponseNotAllowed class instead of instantiating it
Author: glyphobet
Created: 2012-03-07 15:19:57+00:00
State: open

In three places, cms/admin/pageadmin.py returns a django.http.HttpResponseNotAllowed class, where it should be instantiating it. HttpResponseNotAllowed is a subclass of django.http.Response and these functions are supposed to be returning instances of Response, not classes.

This is fixed in this commit: https://github.com/txtr/django-cms/commit/737d7b0b83fdf7ad7b8e3197603995e0bdacb758

That commit is part of this pull request: https://github.com/divio/django-cms/pull/1144