If you are going to be using the Windows operating system while reading this book, please note that a couple of things will need to be done differently. Firstly, all the instructions provided in this book assume a Linux/Mac OS X environment, and some commands may not work as is. The most important change is how Windows handles file paths. On a Linux/OS X environment, paths are written with a forward slash. All the paths mentioned in the book are formatted similarly, for example, PROJECT_DIR/main/settings.py
. When referring to these paths on Windows, you will need to change the forward slashes to backslashes. This path will become PROJECT_DIR\main\settings.py
.
Secondly, while Python is normally included with or easily installed on Linux/OS X, you will need to follow the instructions at https://www.python.org/downloads/windows/
to install it on Windows. After you have Python installed, you can install Django using the instructions at https://docs.djangoproject.com/en/stable/howto/windows/.
There are a few other things that will need to be modified for Windows. I have mentioned these in the book as they have come up, but I might have missed something. If so, a search on Google will usually lead you to an answer. If not, you can always look me up on Twitter at @theonejb
and I'll do my best to help you.