- Language: en
18 results for classmethod in version 3.2
-
Lookup API reference
- … classmethod register_lookup ( lookup , lookup_name = None ) Registers a new lookup in the class. For example …
-
Advanced testing topics
- … classmethod DiscoverRunner. add_arguments ( parser ) [source] Override this class method to add custom arguments accepted …
-
Request and response objects
- … classmethod QueryDict. fromkeys ( iterable , value = '' , mutable = False , encoding = None ) [source] Creates a new QueryDict with …
-
QuerySet API reference
- … classmethod as_manager () Class method that returns an instance of Manager with a copy of the QuerySet …
-
Base views
- … classmethod as_view ( ** initkwargs ) Returns a callable view that takes a request and returns a response …
-
Django Utils
- … classmethod , the @classproperty decorator converts the result of a method with a single cls argument …
-
Built-in class-based views API
- … classmethod: urlpatterns = [ path ( 'view/' , MyView . as_view ( size = 42 )), ] Thread safety with view …
-
Django 1.5 release notes
- … classmethod on the abstract class. Context in year archive class-based views For consistency with …