- Language: en
17 results for print in version 4.1
-
Making queries
- … print ([ e . headline for e in Entry . objects . all ()]) >>> print ([ e . pub_date …
-
Form Assets (the Media class)
- … print: class Media : css = { 'screen' : ( 'pretty.css' ,), 'print' : ( 'newspaper.css …
-
Formsets
- … print ( form . as_table ()) <tr><th><label for="id_form …
-
Advanced testing topics
- … printed to the console, respecting the current verbosity . For example, no message will be printed …
-
Database access optimization
- … print ( member . username ) else : print ( "There are no members in this group." ) It is optimal …
-
Logging
- … print() in their code as a quick and convenient debugging tool. Using the logging framework …
-
Performing raw SQL queries
- … print ( p ) John Smith Jane Jones This example isn’t very exciting – it’s exactly …
-
Signals
- … print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . connect ( my_callback …
-
Many-to-many relationships
- … print ( q ) <QuerySet [<Article: Django lets you build web apps easily>]> >>> q . delete …
-
Sending email
- … printed as the first bit of the email message. Here’s an example view that …