- Language: en
15 results for bits in version 3.0
-
Using mixins with class-based views
- … bit out. The only bit of the view that needs to worry about using SingleObjectMixin …
-
How to use sessions
- … bit of overhead. Configuring the session engine By default, Django stores sessions in your database …
-
Serializing Django objects
- … bit differently: <object pk="27" model="auth.permission"> <!-- ... --> <field …
-
Built-in class-based generic views
- … bit is the lowercased version of the model’s name. Note Thus, when (for example …
-
Translation
- … bit of i18n-related overhead in certain places of the framework. If you don’t use internationalization …
-
Testing tools
- … bit of black magic in order to determine which template was loaded by a given …
-
Making queries
- … bit confusing, so hopefully an example will clarify. To select all blogs that contain entries …
-
Sending email
- … bit of the email message. Here’s an example view that takes a subject , message …
-
Django shortcut functions
- … bit contrived since it’s equivalent to doing: get_object_or_404 ( Book , title__startswith …
-
Django’s cache framework
- … bit obscure, but see Order of MIDDLEWARE below if you’d like the full story …