- Language: en
16 results for object in version 1.8
-
Writing custom model fields
- … object with your models. Our example object Creating custom fields requires a bit of attention …
-
How to deploy with WSGI
- … object The key concept of deploying with WSGI is the application callable which the application …
-
Writing custom django-admin commands
- … objects . get ( pk = poll_id ) except Poll . DoesNotExist : raise CommandError ( 'Poll " %s " does …
-
Custom template tags and filters
- … object back into a normal str or unicode object and, rather than try to catch …
-
Outputting PDFs with Django
- … objects, and Django’s HttpResponse objects are file-like objects. Here’s a “Hello World …
-
Outputting CSV with Django
- … objects, and Django’s HttpResponse objects are file-like objects. Here’s an example: import …
-
Custom Lookups
- … object, called compiler , and the active database connection. SQLCompiler objects are not documented, but the only …
-
Error reporting
- … objects. For example: import re IGNORABLE_404_URLS = ( re . compile ( r '\.(php|cgi)$' ), re . compile …
-
Writing database migrations
- … objects to be created while this migration is running. Objects created after the AddField and before …
-
Upgrading Django to a newer version
- … objects as these objects are not guaranteed to be pickle-compatible across Django versions. A past …