Django Tutorial Web Development With Python Part 1: Installing Django
Link to the full playlist:
Python is one of the most popular and growing languages, and was somewhat lacking in the web development arena for a while. Eventually, multiple web frame works began to appear, and Django became the most popular. There are many others, such as Flask, web2py, and bottle. Each framework has its own characteristics and should be considered depending on your project.
Django, Flask, and web2py are all great options. Django is the largest and most supported, so if you happen to learn by example, this might be the best choice. Django also just seems to have more documentation. Flask and web2py are both slightly more basic at their core. web2py doesn’t require much at all, which is why many prefer it. Django forces you into having a semi-complex website, where web2py does not. Flask is somewhere in the middle. That said, you can make very simple websites with Django, and very complex websites with web2py.
If you intend to have a content-management-driven website with a significant database, then Django should definitely be considered. If you want to go with Django, then this tutorial series might just be for you. In this series, we create a simple blog-like website, do some basic HTML5 design, and show how to add python code in the back ground and display the return of any script. In our case, the return is the outputted Matplotlib graph that our backend script creates. Below is a picture of the finished product.
Sample code for this series:
Launching the website and the admin.
sqlite part 1:
sqlite part 2: