#36381: Improve tutorial's voting template to show a message when no choices are
available
-------------------------------------+-------------------------------------
Reporter: Birendra Kumar | Owner: Birendra
Sharma | Kumar Sharma
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: tutorial, | Triage Stage:
documentation, template, | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* resolution: => wontfix
* status: assigned => closed
Comment:
I agree with Tim here
I don't see a strong reason why adding more logic makes this clearer. I
feel the tutorial should keep logic simple and focus on the concepts it's
trying to introduce.
A question is not really "valid" without choices. The detail view also
doesn't have an if/else condition. The user of the tutorial can make their
own extensions adding logic to handle this
If you disagree, you can bring this up on the forum and add more
reasoning: https://forum.djangoproject.com/c/internals/5
--
Ticket URL: <https://code.djangoproject.com/ticket/36381#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 visit
https://groups.google.com/d/msgid/django-updates/01070196c36e3059-da6fec51-88a5-40af-9d2c-c537863a6e52-000000%40eu-central-1.amazonses.com.