Opened 4 years ago

Closed 4 years ago

Last modified 4 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:2 Changed 4 years ago by Marc Tamlyn

Triage Stage: UnreviewedReady for checkin

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

Resolution: fixed
Status: newclosed

In c6560e4843c94da7eab435b71288579d608c26c0:

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

comment:4 Changed 4 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 4 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 4 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