
Welcome to Django CORE!
Suggestions & Recommendations for getting started with this course.
How to go about using this course... this video is merely a suggestion but we do think it's the best way to use this course. Cheers!
Welcome to Django Function based views.
Create your first view with a new blank project.
Learn about basic responses to any given view.
Understanding CRUD and how it relates to views.
Render Django Templates
Understanding how to add context, like variables, strings, lists, and more in Django views.
How to update your views to use decorators
Build a detail view for working with model data.
Build a create view for working with model data and forms.
Build a update view for working with model data and forms.
Build a delete view for working with model data.
Learn how to combine your CRUD actions into 1 view; although this method is NOT recommended, it's good to think about how FBVs could work... this, ideally, makes you excited for Class Based Views (see the section in this course for more!)
Create a basic search function within your views.
Thank you for watching this section!
Discover why Django models exist by comparing csv tables to production databases, highlighting data types, fields like id, title, price, and shipping price, and scalable data retrieval.
Create a products app, define a product model with title as a text field and price as a decimal field, then rely on Django to auto-generate the id.
Learn how to migrate Django models to a database by creating and applying migrations, validating field definitions like max_length, and updating an SQLite database with the initial schema.
Squash Django migrations into a single file with Python manage.py squash_migrations, specifying the app label and migration name. Then apply and remove old migrations for clean upgrades.
Override the model’s save method to enforce validation across the app, use validators in models and forms, and handle validation errors consistently in shell, admin, and create calls.
Explore how the clean method enables multi-field validation in Django model forms, when to use save versus form validation, and why field-level and form-level validation matter for titles and descriptions.
Design a Django model field with choices to represent states like draft, published, and private, using a choices tuple, a default, and an is_published property.
Implement an abstract base model to share publish state options across Django models, reusing functionality without duplication. Inherit the base publish model in apps, then run migrations to apply changes.
Explore Django model meta options, focusing on ordering (default id and reverse), unique together, and field-level uniqueness; customize verbose name and plural, and review migrations.
Learn how to create data in Django using save, model manager create, and bulk create, including handling data lists, conflicts, and importing from CSV file or Pandas data frame.
Create a custom model manager and a custom queryset to filter published products by state and publish timestamp, enabling reusable filters for title.
Add a slug field for vanity urls with db index and optional blank or null values, then auto-generate it from the title using a pre_save signal, slugify, and migrations.
Test Django core concepts by writing and running model tests, verifying draft and published states, slugify behavior, and querysets with test driven development.
Welcome to Django models unleashed.
Learn about Django models as it relates to the documentation version.
Start and create your django project.
Create your first model and run migrations.
Learn about Django fields and field arguments.
Learn about Django fields and field arguments.
Add your model to the Django Admin.
Learn about how to create Django field choices
Understanding Django Object name in Unicode
Learning about built-in field validation.
Create your own custom field validation which is useful for both model fields as well as Form fields.
Override the Django Model save method.
Learn about Django signals to improve the flow of your model saving.
Learn more about Django fields and field arguments.
Learn about Django fields and field arguments.
Extend your Django model with methods & properties.
Working with Model managers and your models.
Create your own custom QuerySet methods
How to work with models inside of the Python shell managed by Django.
Thank you for watching!
Explore function based views for quick setup with request handling and templates in Django. Compare to class based views, which streamline get and post handling, query sets, and context rendering.
render a plain html template with TemplateView in Django, using template_name, an about.html file, and url wiring via as_view, contrasting with function based views for simple static pages.
Implement a redirect view in Django using a class based view to route the about us path. See how class based views reduce redundancy and simplify routing across URLs.
Create a basic Django product model with title and slug fields, register it in admin, and run migrations to scaffold views. Then proceed to build views based on this model.
Explore how to implement Django's list view and detail view using a product model, configure URLs, and resolve template naming conventions for class based views.
Create a basic mixin to supply a template title for class-based views. Use get context data and get title to set titles in list and detail views.
Explore how a Django list view works by building a minimal generic view with a get request, using a model-driven template name, and a reusable multiple object mixin.
Explore how to recreate a detail view using mixins in Django, inspecting class-based views, multiple object mixins, and get object logic, including URL parameters, get context data, and 404 handling.
Learn how to implement Django RedirectView to route marketing test URLs to a canonical product page, using slug or id, with get_redirect_url, get_object_or_404, and optional permanent redirects.
Learn to create a Django model form to add products linked to a user via a foreign key, implement migrations, and enforce unique slugs for reliable urls.
Wire a product model form into a create view with the login required mixin, render via forms.html, and override form_valid to assign the user and redirect to product detail.
Explains building a reusable base view with form mixin for a Django create view, handling get, post, initial data, and using model form versus a plain form.
Master the hard way of creating a Django update view by manually handling a function based view, binding a model form, validating, and saving the updated object.
Implement Django update and delete views with class-based views, using model forms and template suffixes, while restricting access via get_queryset and defining precise URLs.
Advance your understanding of Django core concepts by exploring templates and template tags, comparing class based and function based views with decorators, and planning testing strategies.
Welcome to Class Based Views
Requirements for this section and recommendations before starting.
First view & understanding a basic template view.
Customize your template view.
Learn about the base view all CBVs inherit from and work with your first mixin.
Learn how to integrate decorators with your views by creating your own custom mixin.
Learn about CRUD with Django Class Based Views.
Learn about CRUD with Django Class Based Views.
Learn about CRUD with Django Class Based Views.
Learn about CRUD with Django Class Based Views.
Learn about CRUD with Django Class Based Views.
Working with Exceptions and querying the database for model objects (instances).
Display Django Messages in your CBVs.
Using a form mixin in a Class Based View.
Thank you and next steps!
Learn about Django forms & formsets in this series.
Requirements for this section as well as suggestions before starting..
General overview of what we're going to do.
Create a HTML form
Create your first Django form
Render your Django form!
Learn about Django form fields.
Collect data from a HTML form
Collect data from a Django form.
Basic form validation
Learn about initial form data.
Form field label and rendered widgets
Working with Model forms!
Override the default save method in model form!
Adjust model form data in a view!
Render custom error messages for errors in your form.
Render custom error messages for errors in your form.
Learn how to display your fields in a template manually.
Reuasble form template by creating a Template snippet
Learn about basic Django formsets!
Manage querysets by using Django formsets!
Using model form in django model formsets!
Create new Forms in a Django formset by using jQuery
Thank you and next steps!
Set up your project.
Welcome to Django templates unleashed!
Learn about Django template filters
Understanding Django template's for loop & cycle concepts.
Working with Django template inheritance
Pass variables to django templates with using the "include" django template tag.
Override your default app templates.
Thank you and next steps!
Welcome to Django translation.
Setup your system to work with gettext.
Translate any string in any view.
Activate a different language manually to test translated strings.
Translate strings within a Django template.
Thank you for watching!
Welcome to the django user model unleashed section.
Requirements for this section.
Extend your user model using Foreign Key field.
Create a custom user model using: https://docs.djangoproject.com/en/1.10/topics/auth/customizing/#a-full-example
Extend your custom user model easily.
Create a user registration view.
User Login & Authentication
Logout the user of the current session.
Login your user with either username or email
Create and work with inactivate users.
Learn about basic activation keys.
Our philosophy is teaching individuals how to code by going through step by step projects. This drives the majority of our content with one exception: the Django Core course.
In this course, we go in-depth into various Django concepts to provide a comprehensive guide to topics that include:
We built this for students looking for a in-depth look at the above concepts. We encourage you to have some experience with Django such as our Try Django series (1.8 & Up) which is available on Udemy.