In this tutorial we are going to dive deep into two fundamental concepts, URLs and Forms. In the process we are going to explore many other concepts like creating reusable templates and installing third party libraries. We are also going to write plenty of unit tests.
Welcome to the second part of our Django Tutorial! In the previous lesson, we installed everything that we needed. Hopefully, you are all setup with Python 3.6 installed and Django 1.11 running inside a Virtual Environment. We already created the project we are going to play around. In this lesson, we are going to keep writing code in the same project.
I'm starting today a new tutorial series about the Django fundamentals. It's a complete beginner's guide to start learning Django. The material is divided in 7 parts. We're going to explore all the basic concepts in great detail, from installation, preparation of the development environment, models, views, templates, urls to more advanced topics such as migrations, testing and deployment.
Celery is an asynchronous task queue based on distributed message passing. Task queues are used as a strategy to
distribute the workload between threads/machines. In this tutorial I will explain how to install and setup Celery +
RabbitMQ to execute asynchronous in a Django application.
Dealing with user input is a very common task in any Web application or Web site. The standard way to do it is through
HTML forms, where the user input some data, submit it to the server, and then the server does something with it. Now,
the chances are that you might have already heard that quote: “All input is evil!” I don’t know who said that first,
but it was very well said. Truth is, every input in your application is a door, a potential attack vector. So you
better secure all doors! To make your life easier, and to give you some peace of mind, Django offers a very rich,
reliable and secure forms API. And you should definitely use it, no matter how simple your HTML form is.