May 2020
Intermediate to advanced
404 pages
10h 52m
English
Django provides a handy utility named the django-admin tool, which can be used to generate the boilerplate code required for a Django project. To create a new project named, say, cntkdemo, use the following code:
django-admin startproject cntkdemo
This will create all the boilerplate folders and files. However, we must create at least one app within the project. Change your active working directory to the cntkdemo folder using the terminal. Use the following command to create an app inside this project:
python manage.py startapp api
So, we have created a folder named api with the following folders inside it; all the files are auto-generated with placeholder code and documentation:
We can now proceed with the ...
Read now
Unlock full access