Skip to content

Glossary: Django Beyond the Basics

as_view()

A method that turns a class-based view into something `path()` can call. For each request it makes a fresh view object and calls the method matching the request.

Where the book teaches it

Related terms

Class-based view, generic view