[mezzanine-users] blog_months template may be incorrect when USE_TZ is set to True

2017-04-30 Thread Luke Addison
When USE_TZ is set to True, 
mezzanine.blog.templatetags.blog_tags.blog_months pulls the month and year 
from an array of timezone aware datatime objects but uses them to create an 
array of timezone unaware datatime objects which is the used to create the 
month_dicts return value. This seems like a bug to me.

For example, if a UTC time is stored in the database less than an hour 
before the end of a month, and then this tag is used with timezone 
Europe/London (UTC+1 currently) then wouldn't this tag return the pervious 
month instead of the current month? 

-- 
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] Fetch As Google - Redirect

2017-04-30 Thread Eduardo Rivas
Your site is actually served on the www subdomain, and the top level 
domain is configured to redirect to that. This way of setting up sites 
is down to personal preference, but it's a perfectly valid 
configuration. Google understands it and will set the www subdomain as 
the "canonical" URL.


The redirect itself is done by the server, before the request reaches 
Mezzanine.



On 2017-04-30 2:58 PM, Richard Jackson wrote:



Hi everyone,

Has anyone had any issues with Google Search Console crawling a 
Mezzanine site? I used 'Fetch as Google' and the crawl was redirected, 
giving the below message:




Any thoughts very much appreciated!

Rich

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


--
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] Fetch As Google - Redirect

2017-04-30 Thread Richard Jackson



Hi everyone,

Has anyone had any issues with Google Search Console crawling a Mezzanine 
site? I used 'Fetch as Google' and the crawl was redirected, giving the 
below message:


Any thoughts very much appreciated!

Rich

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