This course is an introduction to Django specifically targeted at WordPress or intermediate web developers. In this course we will walk through everything from the basic principles of python to developing a full e-commerce system using the Django framework.
Some of the sections include:
- Discussing the differences and similarities between php and python
- Setting up a functional python workspace
- Creating a basic TODO app in python
- Installing and customising Django
- Creating a blog using Django
- Creating a CMS using Django
- Creating 3 different e-commerce stores using Django
php vs python
What tools you will need for this course.
What the main philosophical differences between python and php are and how they relate to Django and WordPress.
A brief discussion about the main differences between php and python on a syntactical level.
Some questions about syntax and philosophy
A very basic introduction to what a Class is on a programmatic level.
A practical example of creating a Class in python.
Recreating the class in php that we just created in python.
Questions about python classes and objects
In this lecture we create multiple instances of the Cat() Class and assign different constructor parameters to each.
Create a TO-DO application in python
In this lecture we start creating our TO-DO application.
In this lecture we will be looking at how python deals with arrays and how they can be applied to our TO-DO application.
Add to final touches to creating, reading, updating and deleting to-do's from our TO-DO application.
Introduction to Django
How to create and activate virtual environments in python.
Using pip to install Django and related packages.
Using Django's shell command tool to create an application
Creating a Post model and adding it to the admin area.
Adding attributes to our model Class to create some depth to our data.
Creating the response that is rendered to the front-end based on the applications url routing.
A brief discussion on regular expressions in the context of Django url routing.
Looking into how Django processes html as well as its own templating language.
Displaying Django model data on the front-end of the site using the view.
Creating a new single post view that is linked to the post archive page using Django url routing, views and templates.
Creating a Django Blog
We look at how to add elements of the Bootstrap framework to our site.
Using Django's pagination library to filter our Posts to make them pagination friendly. As well as actually create some pagination using the url routing system.
Linking our url pagination to variables that can be used on the front-end to navigate through our paginated pages, as well as give an indication of how many pages there are in total and which page we are currently on.
Adding image routing in Django is easier said than done, in this lecture we go over how it is done.
Creating a CMS with Mezzanine
Mezzanine is a popular 3rd party Django package that works similarly to WordPress, in this lecture we go over how to install it.
In this lecture we go over how to add task/asset management to our Django application.
eCommerce for Django
In this lecture we discuss how to install the robust eCommerce framework Oscar.
In this lecture we discuss Cartridge, the eCommerce plugin that is built on top of the Mezzanine CMS.
Saleor is a robust and flexible eCommerce system that uses the right semantic techniques in Django. In this lecture we discuss how to install it and why it is a good option for eCommerce.