- Language: en
14 results for map in the development version
-
Performing raw SQL queries
- … Mapping query fields to model fields raw() automatically maps fields in the query to fields …
-
Writing views
- … Mapping URLs to views So, to recap, this view function returns an HTML page that …
-
URL dispatcher
- … mapping between URL path expressions to Python functions (your views). This mapping can be as short …
-
Working with forms
- … map to database fields, a form class’s fields map to HTML form <input …
-
Models
- … maps to a single database table. The basics: Each model is a Python class that …
-
Creating forms from models
- … map closely to Django models. For instance, you might have a BlogComment model, and you want …
-
Time zones
- … map from likely locations to time zones. Here’s an example that stores the current …
-
Serializing Django objects
- … mappings with the keys “pk”, “model” and “fields”. Each field is again a mapping with …
-
Testing tools
- … mapping valid inputs to their expected cleaned values. invalid – a dictionary mapping invalid inputs to one or more …
-
Translation
- … map the view at a version-dependent URL: from django.views.decorators.cache import cache_page from django.views …