Opened 4 years ago

Closed 2 years ago

Last modified 2 years ago

#16807 closed New feature (fixed)

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

Reported by: ptone Owned by: ptone
Component: Documentation Version: master
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 Changed 4 years ago by ptone

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

I'm currently working on this at DjangoCon2011 sprints

comment:2 Changed 4 years ago by bluejeansummer

  • Cc bluejeansummer@… added

comment:3 Changed 4 years ago by ptone

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

comment:4 Changed 4 years ago by jacob

  • milestone 1.4 deleted

Milestone 1.4 deleted

comment:5 Changed 4 years ago by ptone

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 Changed 4 years ago by ptone

ref: #16970

comment:7 Changed 3 years ago by timo

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

comment:8 Changed 3 years ago by timo

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 Changed 2 years ago by Tim Graham <timograham@…>

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

In 210894167799780283101636c99d8010b30bf09c:

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

Thanks Preston Holmes for the text.

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

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