two-scoops-of-django-3.x icon indicating copy to clipboard operation
two-scoops-of-django-3.x copied to clipboard

Example 10.9 : Consistent Mixin with Example 12.6

Open jrycw opened this issue 3 years ago • 0 comments

Location within the Book

  • Chapter or Appendix: 10
  • Section: 10.5.1
  • Subsection: Example 10.9

Description

model = Flavor is defined both in FlavorCreateView and FlavorUpdateView class.

Possible Solutions

I would suggest define model = Flavor in FlavorActionMixin class (consistent with Example 12.6).

Your full name so we can provide accurate credit within the book

Jerry Wu

jrycw avatar Jul 27 '21 10:07 jrycw