django-crash-course icon indicating copy to clipboard operation
django-crash-course copied to clipboard

Unused views imported in test_views.py

Open emilyh2 opened this issue 4 years ago • 0 comments

Location within the Book

  • Book order number: 12445
  • Book build date (Is the date on page 1): 2021-06-02
  • Book format (PDF, Epub or Mobi): PDF
  • Chapter or Appendix: 57
  • Section: 3

Description

So we can test it, add CheeseUpdateView to the imports...

CheeseUpdateView isn't used in test_views.py, nor is CheeseCreateView, which is also in the list of imports.

Possible Solutions

The only imports from ..views in test_views.py should be CheeseDetailView and CheeseListView.

emilyh2 avatar Jun 14 '21 13:06 emilyh2