Creating a new app with Django
Now, we will create a new app with Django. We will follow the same steps we learned in Chapter 1, Installing the Required Software and Tools, in the Creating an app with Django section. However, in order to avoid repeating many steps, we will use the same restful01
project we had created in that chapter. Hence, we will just add a new app to an existing project.
Make sure you quit Django's development server. Remember that you just need to press Ctrl + C in the terminal or command-prompt window in which it is running. In case you weren't running Django's development server, make sure the virtual environment in which we have been working in the previous chapter is activated. Then, go to the restful01
folder within the 01
folder (the root folder for our virtual environment). The following commands use the default paths to go to this folder. In case you have used a different path for your virtual environment, make sure you replace the base path with the appropriate...