- Language: en
16 results for print in version 2.2
-
Form Assets (the Media class)
- … print: class Media : css = { 'screen' : ( 'pretty.css' ,), 'print' : ( 'newspaper.css …
-
Making queries
- … print ([ e . headline for e in Entry . objects . all ()]) >>> print ([ e . pub_date …
-
Formsets
- … print ( form . as_table ()) <tr><th><label for="id_form …
-
Performing raw SQL queries
- … print ( p ) John Smith Jane Jones Of course, this example isn’t very exciting – it’s exactly …
-
Logging
- … print Django’s logging to the console. It may be useful during local development. By default …
-
Sending email
- … printed as the first bit of the email message. Here’s an example view that …
-
Database instrumentation
- … print the log. print ( ql . queries ) connection.execute_wrapper() execute_wrapper ( wrapper ) Returns a context manager …
-
Signals
- … print ( "Request finished!" ) Notice that the function takes a sender argument, along with …
-
Creating forms from models
- … print ( formset ) <input type="hidden" name="form-TOTAL_FORMS" value …
-
Many-to-many relationships
- … print ( q ) <QuerySet [<Article: Django lets you build Web apps easily>]> >>> q . delete …