Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#19690 closed Bug (fixed)

Class in ajax example doesn't inherit from imported SingleObjectTemplateResponseMixin

Reported by: lucianu Owned by: lucianu
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The code sample found here https://docs.djangoproject.com/en/dev/topics/class-based-views/generic-editing/#ajax-example displays the issue. Basically, SingleObjectTemplateResponseMixin is imported but AjaxableResponseMixin doesn't inherit from it.

Change History (6)

comment:1 Changed 3 years ago by lucianu

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by mjtamlyn

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 2 years ago by Lucian Ursu <lucian.ursu@…>

  • Resolution set to fixed
  • Status changed from new to closed

In c6560e4843c94da7eab435b71288579d608c26c0:

Fixed #19690 - Removed unused import
Removed an import of a class unused in the Ajax example.

comment:4 Changed 2 years ago by Tim Graham <timograham@…>

In bdb5f287144ebf901582ba2b3bde439541fb56f4:

Merge pull request #682 from LucianU/master

Fixed #19690 - Removed unused import in doc examples

comment:5 Changed 2 years ago by Tim Graham <timograham@…>

In a22480797d8b4992f92854624dbf4ac328cbf765:

[1.5.x] Fixed #19690 - Removed unused import in doc examples.

Backport of c6560e4843 from master

comment:6 Changed 2 years ago by Tim Graham <timograham@…>

In a22480797d8b4992f92854624dbf4ac328cbf765:

[1.5.x] Fixed #19690 - Removed unused import in doc examples.

Backport of c6560e4843 from master

Note: See TracTickets for help on using tickets.
Back to Top