wordpress related posts

Django Tutorial Web Development with Python Part 1: Installing Django

Posted On January 21, 2020 at 1:46 am by / No Comments

Link to the full playlist:

Python is one of the most well loved and growing languages, and was somewhat lacking in the web development arena for a while. Eventually, multiple web frame works started to appear, and Django became the most well loved. 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 fantastic 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 certainly be considered. If you want to go with Django, then this tutorial series might just be for you. In this series, we make a simple blog-like website, do some basic HTML5 design, and show how to add python code in the back ground and show the return of any script. In our case, the return is the outputted Matplotlib graph that our backend script makes. 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:


Leave a Reply

Your email address will not be published. Required fields are marked *

Translate ยป