Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#16807 closed New feature (fixed)

Document/Introduce the process and usage of class based views outside of generic view context

Reported by: Preston Holmes Owned by: Preston Holmes
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: bluejeansummer@…, timograham@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Currently class based views are strongly and directly coupled with generic views leading to confusion as to whether the approach can be used as a general view replacement.

Change History (10)

comment:1 by Preston Holmes, 13 years ago

Triage Stage: UnreviewedAccepted

I'm currently working on this at DjangoCon2011 sprints

comment:2 by Nick Meharry, 13 years ago

Cc: bluejeansummer@… added

comment:3 by Preston Holmes, 13 years ago

hopefully the documentation of decoration will also be updated via #14512

comment:4 by Jacob, 13 years ago

milestone: 1.4

Milestone 1.4 deleted

comment:5 by Preston Holmes, 13 years ago

Just a note to link where I'm working on this ticket:

github.com/ptone/django/tree/ticket16807

and a proposed outline for how the reference docs may be organized (the order of Views is not right here, this is all currently machine generated).

gist.github.com/gists/1246480

Input & collaboration welcome

comment:6 by Preston Holmes, 13 years ago

ref: #16970

comment:7 by Tim Graham, 11 years ago

Cc: timograham@… added
Has patch: set
Patch needs improvement: set

comment:8 by Tim Graham, 11 years ago

Hi Preston, nice work so far. I'd like to try to get this committed. I've done some work with your existing patch.

https://github.com/timgraham/django/commit/5aa27d5c78024e9c5fdadd883bbac63bf29a9aec

It looks like you had some more ideas as there were some notes at the bottom of the existing commits. Would you like to describe a little more what you had in mind?

https://github.com/ptone/django/commit/ce46758c02eafd90c92dc07862c5fad9dde40a03#L0R180

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

Resolution: fixed
Status: newclosed

In 210894167799780283101636c99d8010b30bf09c:

Fixed #16807 - Added a class-based views intro.

Thanks Preston Holmes for the text.

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

In 7f04031ef194639e7dc55ff9a873eeb09949a740:

[1.5.x] Fixed #16807 - Added a class-based views intro.

Thanks Preston Holmes for the text.

Backport of 2108941677 from master

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