- Language: en
17 results for print in version 1.8
-
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 …
-
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 overrides the fact that django.request and django.security …
-
Using the Django authentication system
- … print ( "User is valid, active and authenticated" ) else : print ( "The password is valid …
-
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 …
-
Sending email
- … printed as the first bit of the email message. Here’s an example view that …
-
Many-to-many relationships
- … print ( q ) [<Article: Django lets you build Web apps easily>] >>> q . delete …