Wide range of Python tutorials
Scheduling a tweet using Python and Django, using tweet model, tweepy and many other things.
Django default password validation on the User model with createsuperuser and changepassword commands.
Asyncio helps you to write asynchronous functions using python making your application a lot faster with better user experience with its easy to use syntax.
Django admin tips that you can use to create internal app for production including changing default admin page name, handling Django Model History and many more tips.
The default implementation of choices in Django is not very intuitive and we repeat a lot of code while using them. Django choices act as an enum for the fields. We can choose from the various options whose value can be assigned to a given field.
Testing is one of the basic and most important parts of the development process that is needed to be done every time you write or change any part of the code. It gives you the authority confidence in the code that you are writing.
Serialization is one of the main processes of creating APIs. We want to share data between different types of frontends (Web, Android, IOS) in a way that is easily accessible by them all. Serialization is the process of converting different data into a well-defined format and send it as the API response.
You must have heard about the term test-driven-development if you are into the programming world. It is the development in which you write tests before writing the logic. That means first you write the test before writing the real code.
Celery is used to run some special part of code which you don’t want to run in the main thread. We use celery when we don’t want the response of the task in the same request.
Long time ago browser developers recognized that we need to store the data produced during a user session so that we can refer to that data in the future. The user actions can lead to some calculations and after doing this cumbersome calculations we don’t want to do the calculations again and again.
Another problem was encountered while working on the python web framework, Django. But this time the problem was more of the language oriented rather than being framework oriented. As I am not a python programmer so I never knew these basic things. So, first of all I was getting an error, whose statement went like this :
A virtual environment is made when you want to run a different version of a single system. It is a clean way of handling different Python projects in your machine.