
Organize django templates in a templates/entries directory to prevent cross-app conflicts, render them with a view using render, and map urls to index and add endpoints.
Process a Django form by handling post vs get requests, validating and saving a model form to the database, and redirecting to the index with CSRF protection.
Migrate the existing Django migrations to the SQLite database, inspect the user table with DB Browser for SQLite, and create a super user.
Define a simple Django model with a text field on an app, rely on a primary key, and use make migrations and migrate to create example_simple in the database.
Chain multiple filters in Django by applying a first filter and then a second, such as number equals 10 and url yahoo dot com, to see the query results.
Learn how field lookups extend django filters, using exact (case-sensitive) and i exact (case-insensitive), plus contains, in, starts with, ends with, and date range lookups.
Create a Django model with a date field, import Python date and datetime, run migrations, and query using double-underscore lookups for date, time, month, and day.
Create a Django model with a char field that can be null or blank, run migrations, and use is null and is not null filters to find records with data.
Model a one-to-many parent-child relationship in Django by linking language (parent) to framework (child) with a foreign key and on delete cascade, using migrations.
Explore many-to-many relationships in Django by linking movies and characters with a many-to-many field and a third table, using migrations and queries for Avengers and Captain America.
learn how views translate user input into app responses in django, handling incoming requests, distinguishing methods like get and post, and returning appropriate responses such as html or json.
Learn how redirects move users from a registration form to a different page by returning redirects to named urls, such as timeline or profile, and how views orchestrate this navigation.
Learn to return error responses in Django views by raising http 404 for page not found, and use a common error page for consistency.
Set up Django templates by creating a project and an app, then add the app to installed apps. Organize templates in app-specific subdirectories and render an index template.
Discover how Django templates use variables from a context dictionary to render dynamic content. Learn how curly braces and dot notation access dict and list values passed from views.
Master how to use conditionals in Django templates with if statements and else blocks, passing booleans to templates to control what gets rendered, including admin versus regular user views.
Learn how to use for loops in Django templates to iterate over lists and even lists of dictionaries, display items with variables, and close loops with endfor.
Create a simple Django form from scratch, wire it to a view and template, and inspect data via request.POST while comparing get versus post and csrf basics.
Explore how Django displays forms using table, paragraph, or list item tags and how manual rendering with a field name gives you more control over layout and errors.
Learn to customize Django form widgets to display HTML classes. Use widget attributes to apply classes and switch between text input and text area for better styling with a framework.
Explore Django forms using built-in field classes, including boolean, date, decimal, file, image, integer, slug, time, and email fields, and learn how choices and default widgets render and validate inputs.
Discover how model forms update an existing object by passing an instance to the form, demonstrated with updating a car record without creating a new entry.
Explore class based views in Django by implementing get and post methods on a class, handling forms, and rendering templates to improve code reuse and organization.
Create and manage users in Django by migrating tables, creating a superuser, starting the server, and adding a new user via the admin dashboard with an email and password.
Wire the Django authentication system by adding the auth URLs, creating a registration/login template with CSRF protection, and configuring login redirects to the home page.
Retrieve the currently logged-in user in Django views and templates using request.user to access the username and email, and render them conditionally with is_authenticated.
Create a django video site by starting a project, adding a video app with templates, and building a list and video page with a player, thumbnail, and upload details.
Learn to render templates in Django by wiring an app into the project, creating index and video views, and mapping URLs to display templates.
Create a Django project and add two apps, user_profile and form, then configure settings, migrate the database, and use the admin to manage users and content.
Set up a logout endpoint using Django auth views, redirect to the index after logout, and restrict the profile page to logged-in users with the login required decorator.
Create and customize Django forum forms by building model forms for thread and reply, configuring fields, Bootstrap styling, placeholders, and template integration to drive forum functionality.
Create a Django model method to return the latest reply date or, if none, the thread creation date, and display it in templates.
Welcome to Get Started With Django. This course is an introduction to using Django. By taking this course, you will know enough to get started building your own apps, so you can create the projects you've always wanted to create.
Why Django? Django is an easy to learn framework that is fully featured. If you are familiar with Python, picking up Django will be a very straightforward process, and you'll find that you'll be able to create your own apps quickly after starting the course. Django doesn't require any crazy setup or requirements, so if you can run Python on your computer, you'll be able to run Django with no problems.
Also Django includes nearly everything you need to build a web app, so you don't how to worry about installing anything else.
Once you enroll, you'll get access to several hours of content that you can work through at your own pace. Each video includes the code from the video, which makes it much easier for you to follow along.
You'll start by building a simple diary app that gets you familiar with how Django works. Then I'll cover various parts of Django like models, forms, and authentication so you can add them into your projects if you need them.
What you'll build. In addition to the diary app I mentioned, I also cover building a video site and a forum app.