Thanks Ken - with this confirmation I looked into it and added details to
the DDT GitHub issue Moltra also opened:

https://github.com/django-debug-toolbar/django-debug-toolbar/issues/509#issuecomment-31152850

TLDR: DDT 1.0 requires its middleware be ordered last in the middleware
order, as it now prevents any middleware ordered after it from executing,
which in this case cancels out Mezzanine's page middleware, causing 404s to
trigger.

So right now you can either:

1) Fix this in your Mezzanine project right now by explicitly including
DDT's middleware last in your MIDDLEWARE_CLASSES setting
2) Wait for the next release of Mezzanine where the setup for DDT will fix
this
3) Do as Ken suggested and use DDT 0.9.1


On Tue, Dec 24, 2013 at 11:13 AM, Ken Bolton <kenbol...@gmail.com> wrote:

> The culprit is DjDT 1.0. I haven't had time to look into it, but `pip
> install django-debug-toolbar==0.9.1` will fix your problem.
>
>
> On Mon, Dec 23, 2013 at 6:19 PM, Moltra <smsm...@roadrunner.com> wrote:
>
>> Yes, I just tried with a fresh install of mezzanine and had the same
>>> problem.
>>>
>>
>> ```
>> Django==1.5.5
>> Mezzanine==1.4.16
>> Pillow==2.2.2
>> bleach==1.2.2
>> django-debug-toolbar==1.0
>> filebrowser-safe==0.2.31
>> grappelli-safe==0.2.23
>> html5lib==0.95
>> oauthlib==0.6.0
>> pytz==2013.8
>> requests==1.2.3
>> requests-oauthlib==0.3.3
>> sqlparse==0.1.10
>> ```
>>
>> --
>> 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 mezzanine-users+unsubscr...@googlegroups.com.
>> 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 mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Stephen McDonald
http://jupo.org

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to