There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "You can deactivate your environment at any time with the deactivate command."
A block of code is set as follows:
from django.contrib import adminfrom .models import Postadmin.site.register(Post)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ...