
A brief overview of the training
Why Django for the training?
Setting up the environment
Install Visual Studio Code.
Install Python and Python Extension.
Verify Python installation.
Install and use packages (Anaconda).
Construct a virtual environment (Anaconda).
Install a recent version of Django.
Create our first project
Use “manage.py” to run the project
Create our first application.
Update “settings.py” of the project.
Understanding how Django interacts with the website using templates.
Create templates and HTML files.
Update “settings.py” of the project.
Understanding how Django interacts with the website using Views and URLs.
Create Views and Mapping URLs.
Update the HTML file.
Including another URLconf - use the include() function.
Add “urls.py” file to the App.
Update the “urls.py” file of the project.
Build a “static” directory
Update “settings.py” of the project.
Update “index.html” of the templates.
Django – Challenge 1
Incorporate a database into a Django Project.
Update “models.py” of the App.
Creating databases corresponds to the models.
Register models’ classes to App “admin.py”
Create a “superuser”
Use the Django Admin interface
Use Django Forms.
Create a “forms.py” for App.
Update “App: views.py”
Update “App: urls.py”
Connect the form to the template.
Accepting User Input and connecting it to the database.
Adding form and button to “form_page.html” using Bootstrap.
Update “App: views.py”
Django – Challenge 2
Add more classes for the database by updating:
App: models.py, admin.py, forms.py, views.py, urls.py
templates html files.
Create the database (migrate).
Create a superuser and use the admin interface.
Add more classes for the database by updating:
App: models.py, admin.py, forms.py, views.py, urls.py
templates html files.
Create the database (migrate).
Create a superuser and use the admin interface.
This training aims to learn how to create websites using HTML, Bootstrap, Python 3, and Django. This training will cover everything you need to know to build a website using Python, Django, and many other web technologies.
The training topics are as follows:
Introduction to web application using the Django framework.
Create a virtual environment (Anaconda).
Create projects and applications using the Django framework.
Use simple templates and tags using the Django framework.
Create views and set URLs through the Django framework.
Create a form using the Django framework.
Learn to use the administrator interface through the Django framework.
Learn to use Django Forms.
Plug the form into the template through the Django framework.
Accepting user inputs and linking them to the database
Execute detailed projects using the Django framework.
The training learning outcomes are as follows:
Create a fully functional website using the Django framework.
Learn how to use HTML to create website content.
Use CSS to create beautifully designed websites.
Learn how to take advantage of Bootstrap to build websites quickly.
Use JavaScript to interact with sites on the front end.
Learn about the power of Python for programming your web applications.
Use Django as a back end for your websites.