[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.


Re: [mezzanine-users] Rss and tags issues.

2016-12-02 Thread Iliana Panagopoulou
Perfect.

Thank you very much.

2016-12-02 15:25 GMT+02:00 Eduardo Rivas :
> Hi Iliana.
>
> For the link issue, make sure you've updated the Site record in the admin.
> It's under Site > Sites in the admin sidebar. By default it's set to the
> local URL, but you should change it to your production domain.
>
> Regarding the tags in blog posts, Mezzanine ships with linked tags in the
> default blog post template (blog/blog_post_list.html). If you've created
> your own templates, you'll need to replicate that to generate the tag links:
>
> {% keywords_for blog_post as tags %}
> 
> {% for tag in tags %}
> {{ tag }}
> {% endfor %}
> 
>
> See
> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/templates/blog/blog_post_detail.html#L69-L81
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mezzanine Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mezzanine-users/dOs-Ps6CWrg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Ηλιάνα Παναγοπούλου

-- 
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.


Re: [mezzanine-users] Rss and tags issues.

2016-12-02 Thread Eduardo Rivas

Hi Iliana.

For the link issue, make sure you've updated the Site record in the 
admin. It's under Site > Sites in the admin sidebar. By default it's set 
to the local URL, but you should change it to your production domain.


Regarding the tags in blog posts, Mezzanine ships with linked tags in 
the default blog post template (blog/blog_post_list.html). If you've 
created your own templates, you'll need to replicate that to generate 
the tag links:


{% keywords_for blog_post as tags %}

{% for tag in tags %}
{{ tag 
}}

{% endfor %}


See 
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/templates/blog/blog_post_detail.html#L69-L81


--
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] Rss and tags issues.

2016-12-02 Thread Iliana Panagopoulou
Hello all,

Sorry for the stupid questions but I can't seem to find any solution to my 
problems.

The first one is that in my rss feed the  apeears to be 
127.0.0.1:8000 instead of my domain name. 
I do not find this hardcoded anywhere, what am I missing?

And the second issue, is that when I click on a blog's tag it does nothing, 
while I would want it to get me to a page where all the blog posts that 
have the same tag are. Maybe I have messed up with the urls somehow?

Thank you for your time,
Iliana.

-- 
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.