Technical requirementsYour purchase includes a free PDF copy + code bundleCreating a virtual environment with pyenvInstalling pyenv on WindowsInstalling pyenv on macOS and LinuxCreating a virtual environment with pyenvScaffolding a Django project and appExercise 1.01 – creating a project and app, and starting the development serverUnderstanding the model-view-template paradigmModelsViewsTemplatesMVT in practiceAn introduction to HTTPProcessing a requestExploring the Django project structureThe myproject directoryDjango development serverDjango appsPyCharm setupExercise 1.02 – project setup in PyCharmIntroducing Django viewsExploring URL mapping detailsExercise 1.03 – writing a view and mapping a URL to itWorking with GET, POST, and QueryDict objectsExercise 1.04 – exploring GET values and QueryDict objectsExploring Django settingsReferring to Django settings in your codeFinding HTML templates in app directoriesExercise 1.05 – creating a templates directory and a base templateRendering a template with the render functionExercise 1.06 – rendering a template in a viewRendering variables in templatesExercise 1.07 – using variables in templatesDebugging and dealing with errorsExceptionsExercise 1.08 – generating and viewing exceptionsDebuggingExercise 1.09 – debugging your codeActivity 1.01 – creating a site welcome screenActivity 1.02 – a book search scaffoldSummaryGet this book's PDF copy, code bundle, and more