Django Features and Libraries (Coursera)

Django Features and Libraries (Coursera)
Course Auditing
Categories
Effort
Certification
Languages
Misc

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Django Features and Libraries (Coursera)
In this course, you will learn how to build Django-based web applications suitable for use by end users. You will learn about cookies, sessions, and authentication processes in Django. You will build navigation into your applications and explore ways to easily improve the look and feel of Django applications.

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

You will begin to develop a simple application to support a classified ads website that will walk you through many of the issues and techniques that you encounter in website development. You will also learn how to move an application from development to production.
What You Will Learn

- Define Django sessions and how cookies are used to support sessions

- Apply built-in login functionality in Django and manage login users in views

- Define one-to-many models and demonstrate how to represent links in a database

- Create, edit, and delete form flow inside of a generic edit view

Course 3 of 4 in the Django for Everybody Specialization.


Syllabus


WEEK 1

Cookies and Sessions

We explore how cookies work in the browser and how to set and read cookies in Django. We then explore how cookies are used to support sessions in Django and how we use sessions in Django.


WEEK 2

Users and Authentication

Django has a built in capability to create and make use of user accounts. The built-in authentication and authorization system is quite robust. More advanced applications can replace the user model with their own model as long as thy meet the requirements of the rest of Django with respect to the authentication and authorization system.


WEEK 3

Django Forms

Forms are the way that web applications present users with pages that areas to be filled in and sent to the server as data. Django has extensive support to simplify how we write code to interact with HTML forms.


WEEK 4

One to Many Data Models

As we design our data models, it is important to follow normal-form and not replicate string data. We do this by using multiple tables and making link between rows of two tables. The one-to-many pattern is one technique to replace data replication using links between rows in different tables.


WEEK 5

Owned Rows

This module covers the important technique of marking rows in a data model as belonging to a particular user. With this information we can decide who can edit or view particular rows. We look at how we can use Django with object-oriented Python to build a reusable "owned rows" feature.


WEEK 6

Many-to-Many Models

The more advanced data modeling approach to remove replication of string data is the Many-To-Many data model. Sometimes a one-to-many model is not flexible enough to represent structures like course rosters. A Many-to-many model in essense models two on-to-many relationships.



MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.