#34088: Sitemaps without items raise ValueError on callable lastmod.
----------------------------------+------------------------------------
Reporter: Michal Čihař | Owner: Piyush
Type: Bug | Status: assigned
Component: contrib.sitemaps | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by Adam Johnson):
The `default` argument of `max()` can be used.
--
Ticket URL: <https://code.djangoproject.com/ticket/34088#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018433879f1d-47f32641-8c4a-457e-a8d6-6ecb38c3e01f-000000%40eu-central-1.amazonses.com.