{{{
path('<int:year>/week/<int:week>/',
ArticleWeekArchiveView.as_view(week_format='%W'), name="archive_week"),
}}}
The valid formats are: `'%U'` and `%W`. if we pass something else than
those two formats we will get a `KeyError`.
I am gonna to fix this.
--
Ticket URL: <https://code.djangoproject.com/ticket/29903>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Hasan Ramezani
--
Ticket URL: <https://code.djangoproject.com/ticket/29903#comment:1>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/29903#comment:2>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/29903#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"4f8f1b2f245bba83c64b3d5765332bfcb591f1c9" 4f8f1b2f]:
{{{
#!CommitTicketReference repository=""
revision="4f8f1b2f245bba83c64b3d5765332bfcb591f1c9"
Fixed #29903 -- Added error message for invalid WeekArchiveView
week_format.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29903#comment:4>