Blog

Consume REST Services with AJAX and CSRF protection in Django

What I have now? API endpoints with Schema provided They require Token Authentication What I intend to do? Create a form to ... read more


How to Use Django's Generic Relations

You probably have already seen Django’s ContentTypes and wondered how to use it or what is it for anyway. Basically it’s a ... read more


How to Create Django Data Migrations

Data Migration is a very convenient way to change the data in the database in conjunction with changes in the ... read more


Optimizing slow Django REST Framework performance

The Django REST Framework allows Django developers to build simple yet robust standards-based REST APIs for their applications. We've used it successfully ... read more


Docker Commands Cheatsheet - Part 2

Assign Hostname docker run -it --name mydev -h mydev.io ubuntu:latest /bin/bash   Rename Docker docker rename old_name or container_id new_name ... read more


Docker Commands Cheatsheet - Part 1

What is Docker? Docker is a tool that enables developers to create, deploy and run business critical applications using containers. ... read more


Converting MySQL database to Postgres database with Django

I just used this tool to migrate an internal app and it worked wonderfully. https://github.com/maxlapshin/mysql2postgres First backup your data of the ... read more


Using docker for Django development

Before you begin this tutorial, ensure the following is installed to your system: Python 2.7 or 3.x, Docker (Mac users: it's recommended ... read more


How to Reset Django Migrations

The Django migration system was developed and optmized to work with large number of migrations. Generally you shouldn’t mind to ... read more