I wanted to note that the SEO-friendly links functionality was not working because I had changed my time zone in settings.py to my local time zone. The data in the database was saved with UTC time zone anyway (not sure why) so the generated links had the wrong date. When I changed the time zone setting back to the default UTC everything worked as described in the book. But now of course the page displays the wrong published date/time for the posts. I wonder what is the proper way to handle these issues for those of us who don't live in UTC.
I wanted to note that the SEO-friendly links functionality was not working because I had changed my time zone in settings.py to my local time zone. The data in the database was saved with UTC time zone anyway (not sure why) so the generated links had the wrong date. When I changed the time zone setting back to the default UTC everything worked as described in the book. But now of course the page displays the wrong published date/time for the posts. I wonder what is the proper way to handle these issues for those of us who don't live in UTC.