- Language: en
21 results for dates and times in version 3.2
-
Creating forms from models
- … date|month|year ). If you want to override the clean() method on a ModelFormSet and maintain this validation, you must call the parent class’s clean method: from django.forms import BaseModelFormSet class MyModelFormSet ( BaseModelFormSet …
-
Class-based views
- … Class-based views A view is a callable which takes a request and returns a …
-
Customizing authentication in Django
- … Customizing authentication in Django The authentication that comes with Django is good enough for most …
-
Models
- … Models A model is the single, definitive source of information about your data. It contains …
-
Built-in class-based generic views
- … Built-in class-based generic views Writing Web applications can be monotonous, because we repeat …
-
Migrations
- … Migrations Migrations are Django’s way of propagating changes you make to your models (adding …
-
Using mixins with class-based views
- … Using mixins with class-based views Caution This is an advanced topic. A working knowledge …
-
Performing raw SQL queries
- … Performing raw SQL queries Django gives you two ways of performing raw SQL queries: you …
-
Writing and running tests
- … Writing and running tests See also The testing tutorial , the testing tools reference , and the …
-
Templates
- … Templates Being a web framework, Django needs a convenient way to generate HTML dynamically. The …
-
Form Assets (the Media class)
- … Form Assets (the Media class) Rendering an attractive and easy-to-use Web form requires …