twoscoops / two-scoops-of-django-1.11

The issue tracker, changelog, and code repository for Two Scoops of Django 1.11

Home Page:https://www.twoscoopspress.com/products/two-scoops-of-django-1-11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flavor model's flavor choices is not correct

tianhongjie opened this issue · comments

Location within the Book

  • Chapter or Appendix: chapter_10
  • Section: 07
  • Subsection:

Description

In file chapter_10_example_07.py Line 48 is not correct.

If grammar, enter problematic text here, otherwise delete this line.

If code-related, enter it within these backticks. Otherwise, delete this segment.
    STATUS_CHOICES=(
        (STATUS_0, 'zero'),
        (STATUS_1 = 'one'),
    )
    STATUS_CHOICES=(
        (STATUS_0, 'zero'),
        (STATUS_1, 'one'),
    )