A tutorial on how one can use select_for_update to lock a Django queryset until the transaction it is in is committed in order to handle concurrency.
Continue reading →While writing APIs that retrieve a single object from your database, it is best to use get_object_or_404 as it can help you save 4 lines of code and convert it into 1 line.
Continue reading →A tutorial on how update_fields() can be used make the save() method more efficient in the Django ORM
Continue reading →A tutorial on how values() or values_list() can be used to optimize performance of the Django ORM
Continue reading →A tutorial on leveraging inheritance to write elegant and reusable code when developing Django apps
Continue reading →A tutorial on how to represent model relationships in Django serializers.
Continue reading →Thoughts on why you should use a Platform as a Service to deploy your Django apps followed by some tutorials on the same.
Continue reading →A tutorial on using gmail/mailgun to send error emails to yourself for effective monitoring of your Django applications
Continue reading →A tutorial on how to best perform actions before or after a Django model is saved to the database
Continue reading →A tutorial on updating multiple rows atomically using a single operation on your database with Django methods
Continue reading →A tutorial on how to authenticate your APIs and give role based access using minimal lines of code.
Continue reading →No matter what your current skill level is, these 5 books are sure to enhance your Django development chops.
Continue reading →Users should be able to interact with your Django application in their local time zone. Here is how you can achieve this.
Continue reading →How to decide between two equally popular web frameworks that serve a common goal?
Continue reading →How Django takes away a lot of hassle when it comes to web development and why you should consider using it.
Continue reading →A detailed explanation of how a many-to-many relationship works in Django and all the caveats associated with using the ManyToManyField
Continue reading →A tutorial on how to make your APIs paginated with minimal lines of code.
Continue reading →A structural guide and tutorial for building a Django CRUD application at lightning speed using the Django Rest Framework library
Continue reading →