Skip to content

Chapter 2: SEO-friendly links and time zones #48

@Rhywun

Description

@Rhywun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions