Plugins may want to insert meddlewares, so this list should be modifiable
at very list (if we don't want to provide helper methods for this, which
seems a tad overkill for now).
This change is required for the upcoming trim_whitespace plugin.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-ENABLED_MEDDLEWARE = (
+ENABLED_MEDDLEWARE = [
'mediagoblin.meddleware.csrf:CsrfMeddleware',
- )
+ ]
class BaseMeddleware(object):