March 2015
Intermediate to advanced
222 pages
5h 1m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, folder names, filenames, package names and user input are shown as follows: "The HttpResponse object gets rendered into a string."
A block of code is set as follows:
from django.db import models
class SuperHero(models.Model):
name = models.CharField(max_length=100)Any command-line (typically Unix) input or output is written as follows:
$ django-admin.py --version 1.6.1
Lines beginning with the dollar prompt ($ sign) are to be input at the shell (but skip the prompt itself). Remaining lines are the system output, which might get trimmed ...
Read now
Unlock full access