Introduction – Django Web Development With Python 1
Welcome to a Django web development with Python tutorial series. Django is a Python web development framework, aimed at rapid development and deployment.
One of the more common questions people have is “which framework” they should use. There are quite a few for Python, with Django and Flask being the two most popular.
Flask is more of what we call a “micro” web framework. It is much “lower level” than Django is. This allows for more customization and control for the developer.
Django is much more of a higher-level framework, and imposes a set structure on the developer.
Thus, with Flask you can create systems your way, which is probably not most efficient, fastest, or secure way. With Django, you are a bit more constrained, but you are going to most likely do it the best way possible. As with almost all questions people ask me regarding which to use, the answer is: Try a few, and choose the one you like best. In the end, Django and Flask can be used to make the exact same websites!
To try Django, you need to get Django first (you will also need Python installed). This is exceptionally simple:
pip install Django
Text-based tutorial and sample code: