- Language: en
3 results for DetailView in version 5.0
-
Using mixins with class-based views
- … DetailView . Using FormMixin with DetailView Think back to our earlier example of using View and SingleObjectMixin …
-
Built-in class-based generic views
- … DetailView from books.models import Book , Publisher class PublisherDetailView ( DetailView ): model = Publisher def get_context_data …
-
URL dispatcher
- … DetailView . as_view (), name = "detail" ), ... , ] Using this setup, the following lookups are possible …