
Section 1 documentation
We will be using Miniconda to create virtual environments and run Python.
In case you don't have a text editor yet, VS code is one good option.
Keeps things organized and you'll thank yourself later!
Finally! Let's create a Django Project.
A Django app is where we do most of the code. Let's create one.
settings.py is one of those importante files. Let's study what's inside.
How to run a Django project locally?
Understanding a little bit more of the structure in a Django project
Documentation from section 2
Template -> View -> URL
Let's create another view and practice the workflow
Learning about URL template tags and why are they useful
Download a template from startbootstrap
Section 3 Documentation
Introduction to static template tags
Exploring the Django error page
Let's fix the error and understand how to use static template tags.
Section 4 - Documentation
Brief description for this section.
Behind the scenes Django comes with some migrations files already created. We need to migrate them before we can access Django admin.
Create a super user in order to access Django admin. Let's also explore Django admin a little bit.
Django uses ORM (Object relational mapping). It means that databases are creating with objects.
Understand how migrations work in Django.
Configure the media files in order to upload images.
Some images available to download that you can use to upload in the database. Is totally fine that you use your own.
Documentation from part 6 and also a summary of the Template tags
How do class-based views work? How can we take advantage of them. Let's see. For now let's use TemplateView
get_context_data is a method that we inherit from TemplateView. It's useful to send data to return extra data to the client.
Let's load all the projects in the notes.html template and see how it looks!
In the context of this project we can use login_required to restrict access to the notes pages.
Let's make some adjustments in the index.html page so we load all its static files by using template tags
Let's replace the startbootstrap project with our own!
There are many useful template tags. Let's see some more in this video.
How will this section go?
Let's give the Portfolio a different style! Feel free to add your touch!
Introduction to pythonanywhere.com
Important parts of pythonanywhere
Bringing our portfolio to the internet!
Just like we have created a virtual environment locally, let's keep the good practice in pythonanywhere!
Let's create a webapp and configure it!
Fixing an error in pythonanywhere
Thank you :)
Django is a powerful full-stack web framework that uses Python to build robust and scalable applications. In this course, we’ll learn to create a complete website with Django, guiding you through the entire process from start to finish. The course is structured in different sections, giving you a solid understanding of each stage of development.
Have you ever wanted to create a website using Django?
In this course we will go through the entire process!
The course is organized in different parts:
Setting Up
First steps in development
Django Admin Interface
Creating a database in Django
Deepening development
HTML & CSS adjustments
Deployment & Publishing
With a solid foundation, we’ll move on to deepening development, where you’ll learn concepts that make your website more dynamic and functional. Then, we’ll make HTML and CSS adjustments to improve the style of the site. Finally, we’ll see how to deploy and publish the website online, making it accessible to everyone.
Documentation
During the course I will provide you documentation in a step by step format that you can use in the future as a guide to create other Django projects.
Requirements
We will be using Python, HTML and some CSS. It's alright if you don't feel comfortable with those languages, we will be coding along during the videos!
Let's see how it goes and let's get started :)