#18794: When timezone support is enabled, permalinks for DateDetailView are impossible. -------------------------------+-------------------------- Reporter: void | Owner: nobody Type: Bug | Status: new Component: Generic views | Version: master Severity: Normal | Keywords: timezone, tz Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------- With timezone support enabled, permalinks for `DateDetailView` are hard to create.
As clearly stated in docstring of `DateMixin._make_date_lookup_arg`, {{{ When time zone support is enabled, `date` is assumed to be in the current time zone, so that displayed items are consistent with the URL. }}} As current time zone is a time zone of the current user, web site should generate different urls for different users in order them view same content and not 404 page. That's weird: we don't have permalinks anymore. User in Moscow may send a link to `DateDetailView` to another user in New York, and that user will see 404 page. Or it may be `DayArchiveView`, and user in New York will see another set of records. I may be not understanding something, as last test in `regressiontests.generic_views.dates` even checks for this 404. But what is the way I should generate worldwide accessible permalinks? -- Ticket URL: <https://code.djangoproject.com/ticket/18794> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.