[mezzanine-users] Re: blog_blogpost_add URL missing

2016-12-02 Thread Chris Hawes
In case anyone stumbles upon this, I found the problem. I replace the 
default BlogPostAdmin with my own subclass which adds some functionality. 
At some point I'd fat-fingeredly commented out the line that registers my 
new admin class while debugging a problem, which left just the line that 
unregisters the old one. So there was no blog post admin registered.

To answer the question of where blog_blogpost_add url comes from, it seems 
to be auto-generated by the admin. That URL resolves to 
/admin/blog/blogpost/add/ on my site.


On Thursday, 1 December 2016 18:44:30 UTC-5, Chris Hawes wrote:
>
> FWIW, I've gotten around this by using the DASHBOARD_TAGS setting to 
> remove the quick_blog section. However, I'm still baffled as to why this 
> suddenly started failing, and would also like to restore the quick_blog 
> section if possible...
>
>
> On Thursday, 1 December 2016 18:38:11 UTC-5, Chris Hawes wrote:
>>
>> I'm at a bit of a loss. Some time yesterday, loading my admin page on my 
>> Mezzanine site started failing with the following error:
>>
>> Reverse for 'blog_blogpost_add' with arguments '()' and keyword arguments 
>> '{}' not found. 0 pattern(s) tried: []
>>
>>
>> Of course I tried undoing whatever recent changes I'd made, but nothing 
>> there seems to remedy it. I haven't made any changes that would seem 
>> suspect.
>>
>> The trouble is that in trying to debug it, I can't even see where the 
>> blog_blogpost_add URL is supposed to come from. I see the (failing) url 
>> lookup in the quick_blog.html template, but nowhere do I see a urlconf 
>> with the name blog_blogpost_add. So I can't even see how it's supposed 
>> to work, let alone why it's not.
>>
>> Can anyone point me in the right direction here? I'm tearing my hair 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/d/optout.


[mezzanine-users] Re: blog_blogpost_add URL missing

2016-12-01 Thread Chris Hawes
FWIW, I've gotten around this by using the DASHBOARD_TAGS setting to remove 
the quick_blog section. However, I'm still baffled as to why this suddenly 
started failing, and would also like to restore the quick_blog section if 
possible...


On Thursday, 1 December 2016 18:38:11 UTC-5, Chris Hawes wrote:
>
> I'm at a bit of a loss. Some time yesterday, loading my admin page on my 
> Mezzanine site started failing with the following error:
>
> Reverse for 'blog_blogpost_add' with arguments '()' and keyword arguments 
> '{}' not found. 0 pattern(s) tried: []
>
>
> Of course I tried undoing whatever recent changes I'd made, but nothing 
> there seems to remedy it. I haven't made any changes that would seem 
> suspect.
>
> The trouble is that in trying to debug it, I can't even see where the 
> blog_blogpost_add URL is supposed to come from. I see the (failing) url 
> lookup in the quick_blog.html template, but nowhere do I see a urlconf 
> with the name blog_blogpost_add. So I can't even see how it's supposed to 
> work, let alone why it's not.
>
> Can anyone point me in the right direction here? I'm tearing my hair 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/d/optout.