3.6_Class-based views
3.6 Class-based views
3.6.1 Introduction to class-based views
3.6.2 Built-in class-based generic views
3.6.3 Form handling with class-based views
3.6.4 Using mixins with class-based views
pdf판과 웹 DOCS의 순서가 약간 다르다. 아래 세 항목이 DOCS에서는 3.6 Class-based views 아래에 바로 등장한다.
3.6.5 Basic examples
3.6.6 Simple usage in your URLconf
3.6.7 Subclassing generic views
3.6 Class-based views
- Basic examples
- Simple usage in your URLconf
- Subclassing generic views
- Supporting other HTTP methods
3.6.1 Introduction to class-based views
- The relationship and history of generic views, class-based views, and class-based generic views
- Using class-based views
- Using mixins
- Handling forms with class-based views
- Decorationg class-based views
- Decorating in URLconf
- Decorating the class
3.6.2 Built-in class-based generic views
- Extending generic views
- Generic views of objects
- Making "friendly" template contexts
- Adding extra context
- Viewing subsets of objects
- Dynamic filtering
- Performing extra work
3.6.3 Form handling with class-based views
- Basic forms
- Model forms
- Models and request.user
- AJAX example
3.6.4 Using mixins with class-based views
- Context and template responses
- Building up Django's generic class-based views
- DetailView : working with a single Django object
- ListView : working with many Django objects
- Using Django's class-based view mixins
- Using SingleObjectMixin with View
- Using SingleObjectMixin with ListView
- Avoid anything more complex
- Using FormMixin with DetailView
- A better solution
- An alternative better solution
- More than just HTML