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:
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.
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.
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.
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.
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.
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.
Richard is a Web Developer from Cape Town. He is passionate about learning and implementing new technology in the world of API’s, web and mobile application development. With a focus on WordPress and Django. Richard is also a BMUS graduate who enjoys gaming, galavanting around Cape Town and craft beer.