
Build my vaccine project in Django, creating vaccine, center, storage, campaign, and slots modules with CRUD operations using function-based, class-based, and generic views, enabling patient registration, appointment letters, vaccination certificates.
Explore the fundamentals of web development, including client-server architecture and the ATP protocol. Learn how the browser requests a URL to fetch and render resources.
Learn how a client sends an SDP request using Hypertext Transfer Protocol, travels via DNS and IP to a server, which replies with an SDP response that the browser renders.
Explore how the http protocol enables client-server communication, detailing http requests and responses, request line, headers, and body, common methods, and status-code classes from 1xx to 5xx.
When you type a url in the browser, the browser resolves the domain to an ip address via dns, opens a tcp connection, sends http requests, and renders the response.
Review the foundational concepts of the SDP protocol in Django, including SDP request, SDP response, methods, and SDP status codes, as this section completes.
Learn to set up a repository and install Django in a virtual environment, activate it, manage a repository on GitHub, and create a Django project and app with the mindset.
Learn to use the course project files at the start of every section and resolve doubts by researching online before asking Udemy, to become a proficient Django backend developer.
Set up local and remote repositories by creating a GitHub project, adding a readme and Python gitignore, cloning the URL, creating a min branch, and pushing changes to origin.
Learn to use virtual environments to manage project dependencies with isolated Python environments, install specific libraries, and learn to create, activate, and deactivate across systems.
Install Django in a virtual environment, create a Django project and multiple apps (vaccine, user center, campaign, vaccination), register them in settings, and run the development server to verify.
Review what you have learned so far in Django, including the SDP protocol, setting up a virtual environment, and creating a Django project and app, followed by a short quiz.
Learn the basics of Django models and how to implement a relational database design by building models for a vaccine center, stories, campaign slot, and vaccination.
Explore Django models and the ORM to define database tables as Python classes, generate migrations, and configure field types and options like max_length, null, and choices.
Create a Django vaccine model with fields name, description, number of doses, interval days, storage temperature, and minimum age; migrate, register in admin, and perform crud operations.
Create a center model with name and address, compare CharField and TextField, implement the SDR method returning the name, and migrate and register it in admin for CRUD.
Learn to model storage in Django by establishing many-to-one relationships between storage, center, and vaccine, using foreign keys, cascade deletes, and fields for total and booked quantities.
Define a django campaign model that links centers and vaccines through many-to-one relationships, tracks start and end dates, and assigns agents via a many-to-many user relation.
Create a Django slot model tied to campaigns with a many-to-one foreign key, including date, start_time, end_time, max_capacity, reserve_capacity, and resolved fields; expose via admin and migrate.
Learn to implement a Django vaccination model linking user, campaign, and slot via foreign keys, track vaccine date, status, and audit updates with updated by and updated on fields.
Revise the SDP protocol, virtual environment setup, and Django project basics, then learn to write Django models and implement many-to-many, many-to-one, and foreign key relationships to design relational databases.
Learn the basic concepts of the Django ORM and follow a section roadmap to perform create, read, update, and delete operations on any model using Django ORM.
Discover how to perform create operations with Django ORM: use model managers to create center and vaccine objects, then create a campaign with foreign keys and a many-to-many user relation.
Learn how to perform read operations with the Django ORM using all, get, and filter methods, handle primary keys, and traverse many-to-one and many-to-many relationships.
Learn how to perform update operations in Django ORM, updating a single vaccine instance and its minimum edge, then update multiple centers in one query with center.objects.all().update.
Learn to perform delete operations with Django ORM, deleting a parent object and cascading to related child objects in one-to-many and many-to-many relationships, including the campaign_agents table.
Review core Django concepts by revisiting the http protocol, setting up a Django project and app, and performing crud operations with the Django object-relational mapping, including queries.
Learn the basics of Django views and templates, creating views that return http responses, rendering html with the template engine, and applying template inheritance.
Learn how to build a Django view that accepts a web request and returns an http response, then route it with url patterns in urls.py to display a message.
Learn how to render html from a Django view using the built-in template engine, configure template directories, pass a context with a message, and render index.html.
Configure static files in a Django project by setting static url, static root, and static files dirs, updating urls.py, and loading static in templates to serve css and images.
Learn how to implement template inheritance in Django by building a base template with shared head, body, and footer components, and using blocks for dynamic content in child templates.
Review core Django concepts by revisiting http protocol, virtual environments, Django models, crud with the Django orm, function-based views, the Django template engine, and static asset configuration.
Create a Django function-based center_list view to fetch all center instances, render them with the center_list.html template, and wire up URL routing and templates for display.
build a function-based center detail view in Django by querying a center by id, rendering center_detail.html with context, and wiring a URL pattern and links from the center list.
learn to create a center using a Django model form and a function-based view, handling get and post, validating, saving, and redirecting to the center list.
Learn to perform update operations on center data with a Django function-based view, handling get and post requests, form instantiation with instance, and 404 not found handling.
Implement a function-based delete view for a center model in Django, handling get confirmation and post deletion with CSRF protection, templates, and redirect to the center list.
Review the course concepts from HTTP protocol to Django template engine, and learn to perform CRUD operations on any model using a function based view with Django ORM.
Build CRUD operations on a vaccine model using Django class-based views, including list, detail, create, update, and delete views. Learn to perform CRUD on any model with class-based views.
Explore class based views in Django by inheriting from django.views and implementing get and post handlers, with benefits like code reuse and better organization.
Learn to build a Django class-based list view for a vaccine model, fetch all vaccines, and render them with a template, wiring the URL for a live vaccine list.
Learn to build a class-based detail view for a vaccine model in Django, including a get method, 404 handling, template rendering, and URL routing to display vaccine details.
Create vaccine records using a class-based view and a model form, render a create vaccine template, handle get and post requests, validate, save, and redirect to the vaccine list.
Update vaccine details using a Django class-based view; fetch the vaccine with get object or 404, render an update form, validate and save on post, and redirect to detail page.
Implement a Django class-based delete view for the vaccine model, with a delete template using CSRF, and post-delete redirect to the vaccine list.
Review key Django concepts, from setting up the virtual environment, project, and app, to writing models and performing CRUD with the ORM, function-based and class-based views, and the template engine.
Learn to perform crud operations on a storage model using generic views by building list, detail, create, update, and delete views for any model.
Learn how Django generic views, a class-based approach, abstract common patterns to speed up view development, enabling code reuse and better organization with list, detail, create, update, and delete views.
Learn to build a Django generic list view to display storage objects, fetch data, render templates, and filter by center id via URL for a storage list API.
Leverage Django's generic detail view to display a storage object's details, including center name, vaccine, and quantities, and compute available quantity via get_context_data in storage_detail.html.
Learn to use Django's generic create view to build and save storage model objects with a pre-built form, including center filtering, initial values, and a success URL.
Learn to use Django's generic UpdateView to update storage objects with a storage form, override get_form to pass center id, and configure template and success URL for storage updates.
Create a generic delete view for the storage model in Django, defining StorageDelete with model and template, wiring the URL, and redirecting to the storage list by center id.
Revise Django fundamentals by applying CRUD operations with generic views, including list, detail, create, update, and delete, to perform model operations using Django ORM.
Learn to paginate in Django across function-based and class-based views, generate list views, and apply pagination to any given view.
Learn how Django pagination divides large data into pages to improve API response time and navigation by ordering data from A to Z and displaying limited records per page.
Learn to paginate a Django function-based center list view using the paginator, including ordering by name, two objects per page, and exposing a reusable pagination component for templates.
Learn to paginate a django class-based vaccine list view by ordering the queryset, using the paginator, and rendering page objects with a pagination component.
Paginate a generic list view by setting ordering and paginate_by to two, then render with page_obj and a pagination component. Start the server and push changes.
Revisit STV protocol, virtual environment setup, Django project basics, models and ORM CRUD, function-based, class-based, and generic list views, and templates, and learn to paginate any given data in Django.
In this course, you will learn the core concepts of Python Django by building a project named "Book My Vaccine". It is a vaccination scheduling application and we are going to build this project from scratch. While building this project, you will master these core concepts of Python Django.
At first, we will proceed with the basic concepts of web like HTTP protocol.
Then we will learn how to create virtual environment and setup Django project and app.
After that, we will learn how to write models by referring to a class diagram. So, you will be shown a class diagram and we will implement it using django.
Then, we will learn the important concepts of Django ORM.
After that, we will learn Function Based Views, Class Based Views and Generic Views. We will build the features of our project and learn these concepts simultaneously.
Then, we will learn the concepts of pagination, message framework, signals.
After that we will build User Authentication and authorization system. We will re-use the default authentication system and build some more additional features on top of it.
Then, we will learn how to customise the default Django Admin Panel.
At last, we will learn how to deploy the project in AWS virtual machine using Gunicorn and Nginx.