- Language: en
26 results for id in version 2.0
-
How to use sessions
- … id' )) except ( ValueError , TypeError ): account_id = None obj . account_id = account_id return obj If you are migrating …
-
Formsets
- … id="id_form-0-title" /></td></tr> <tr><th><label …
-
Creating forms from models
- … id" id="id_form-0-id" /></td></tr> Note …
-
Making queries
- … id == other_entry . id If a model’s primary key isn’t called id , no problem …
-
Performing raw SQL queries
- … id': None, 'id': 54360982}, {'parent_id': None, 'id': 54360880}] >>> cursor …
-
Working with forms
- … id_subject" > Subject: </ label > < input id = "id_subject" type …
-
URL dispatcher
- … id>/history/' , views . history ), path ( '<page_slug>-<page_id …
-
Models
- … id = models . AutoField ( primary_key = True ) ... class Book ( models . Model ): book_id = models . AutoField ( primary …
-
Using the Django authentication system
- … id ): user = get_object_or_404 ( User , pk = user_id ) # any permission check will cache …
-
Database access optimization
- … id instead of: entry . blog . id Don’t order results if you don’t care …