Django Tips for Performance – right way to use annotation with filter.

In Django on January 10th, 2017

Use filter then annotation when you have to use filter and annotation at same time, otherwise there will be performance issue.

Read more...

Installing Postgres in Ubuntu 14.04

In Postgres, Server on May 28th, 2015

In this blog, I will how to install Postgres database in Ubuntu 14.04. There are few commands to create database, change password and database owner.

Read more...

Django + Apache – virtual host syntax with virtual environment

In Django, Server on May 28th, 2015

In this blog, I will show how to configure Apache virtual host for Django project with virtual environment and run it as separate daemon. I will show configuration for both http and https.

Read more...

Ubuntu – delete files older than x minutes

In Magento, Server on February 6th, 2015

The ubuntu command that delete files older than x minutes

Read more...

PostgreSQL databse dump and import

In Postgres on January 28th, 2015

PostgreSQL (often Postgres, never Postgre), is an object-relational database management system (ORDBMS) available for many operating systems. Here’s how you can export and import database by creating dump

Read more...