Opened 11 years ago

Closed 11 years ago

Last modified 11 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: dev
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 by Marc Tamlyn, 11 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Lucian Ursu <lucian.ursu@…>, 11 years ago

Resolution: fixed
Status: newclosed

In c6560e4843c94da7eab435b71288579d608c26c0:

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

comment:4 by Tim Graham <timograham@…>, 11 years ago

In bdb5f287144ebf901582ba2b3bde439541fb56f4:

Merge pull request #682 from LucianU/master

Fixed #19690 - Removed unused import in doc examples

comment:5 by Tim Graham <timograham@…>, 11 years ago

In a22480797d8b4992f92854624dbf4ac328cbf765:

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

Backport of c6560e4843 from master

comment:6 by Tim Graham <timograham@…>, 11 years ago

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