How to setup Django debug toolbar

Django Debug toolbar is very helpful for a developer. It helps to see the SQL query, query times and many more. at a glance easily can debug Django project. Steps of setup: Install debug python package Debug must be false Internal IP must be mentions Configure in settings.py file urls.py configure configure static file of debug

Facebook Data Deletion Request Callback with Django
Facebook Data Deletion Request Callback with Django

Facebook provide a way to delete a user details from our apps and systems. Some time we use facebook login app for django authentication and its work perfect. But if the user want to delete his facebook book permission from his/her account we should provide a deletion request callback otherwise facebook may deactivate our facebook

Convert string to datetime and datetime humanize

From string to convert date time in python

Result:

Now if you want to represent your desire date like Sun May 20 10:10:55 2018

How to RabbitMQ install on Mac
How to RabbitMQ install on Mac

If you need Asynchronous Messaging system in your project then RabbitMQ is a good solution for you. Sometimes we need to run on mac. Follow some steps to install RabbitMQ on mac:
Table of contents Overview | Dependencies | Install server | Update bash profile | Run server

Cheat Sheet

Some cheet codes that speed up out work and quick turn into production. Let us try this Specific python version install virtualenv -p python3 new_p3_env Install RabbitMQ brew install rabbitmq RabbitMQ start but not like as a service /usr/local/sbin/rabbitmq-server RabbitMQ start brew services start rabbitmq

python-pip
How to install Pip on Ubuntu

Pip is a package management system. Through pip we can get python package from PyPI . There are some ways to install pip in Ubuntu. In below steps of pip install will be described. Overview | pip install | pip install with curl | Basic commands of pip | Search pip packages | install python packages with pip | uninstall python package with pip

How to install specific python version on virtualenv

Some times we need specific python version for specific project.There are some easy way to install specific python version through virtualenv. In below I try to give two example to install python2.7 and python3.5 Example one: If you are already install virtualenv then write the code for make a virtualenv that will have python version

How to remove Odoo from Ubuntu
How to remove Odoo from Ubuntu

Sometimes we need to remove all settings and files from our Linux system. There are some easy steps to do that and Odoo remove from ubuntu.Table of ContentOverview | Steps of work | Stop Odoo server | Delete User | Remove Database

How to Install virtualenv in ubuntu

Virtualenv is really a nice thing if you want to work with different python version.suppose you have a project that need python 2.7 and in the mean time you also want to work on another project that need python 3.5. What can you do then? What is the solution for you? Install virtualenv sudo pip

Install virtualenv and virtualenvwrapper on Ubuntu

Virtualenv store a private copy of python, PHP and packages of Python. There are some simple steps to install it on Ubuntu. Install pip: sudo apt-get install python-pip Install virtualenv sudo pip install virtualenv Now create a dir where all your virtualenvs file will be stores mkdir ~/.virtualenvs At this stage we can successfully use

Odoo docker image build tutorial

In docker hub there is a complete package to install a odoo in docer. But in this way odoo will install as a python package.For install Odoo it prefer python 2.7 and postgresql as database. For my personal experience if need all fill in local machine and build a docker image I follow some steps

How to deploy django with docker nginx server

There are some condition to deploy django in docker with nginx sever.One : Already create a project and run it locally and project is complete now want to deploy in docker container Two: Create a new project in docker container at first and after that work Today I will share my personal experience how I