#36381: Improve tutorial template to show a message when no choices are 
available
-------------------------------------+-------------------------------------
     Reporter:  Birendra Kumar       |                     Type:
  Sharma                             |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  Documentation
      Version:  dev                  |                 Severity:  Normal
     Keywords:  tutorial,            |             Triage Stage:
  documentation, template,           |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 In the polls tutorial (polls/detail.html), the template currently loops
 over choices without showing anything if none exist.
 This change adds a condition to display a user-friendly message ("No
 choices available for this question.") when no choices are present.
 This improves clarity for beginners and makes the template more
 informative without altering existing functionality.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36381>
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/01070196b6475116-5816c078-ac0b-4d73-b4a0-9798ad2cea07-000000%40eu-central-1.amazonses.com.

Reply via email to