BLOG

A LITTLE STORY ABOUT MY JOURNEY

Weekend Django real-time notifications with SwampDragon

Displaying notification in different form is common these days. for example notification message notificat in in facebook and new mail notification by gmail. Many people are concerned about implementing the the real time notification system correctly in a hassle free manner. And the good thing about this is that you can easily turn this out in […]

Screen Shot 2015-09-05 at 17.24.26

Weekend exercise with django-mptt

Welcome to Django Mptt Demo Welcome to Django mptt demo module. This demo explains how to create tree level category and demonstrate mtpp library Repo : https://bitbucket.org/cyberkishor/django-mptt-demo/wiki/Home Django Mtpp demo features Create Tree level category Display tree level category list in admin panel Display category as tree in another db relation like forenkeyTree (example used in […]

Django dumpdata and loaddata

dumpdata command It is a django management command, which can be use for database backup(import/export) it can be model instance or all database dumpdata: basic command for backup all database

dumpdata  specific app Following command will dump the content in django admin app intoadmin.json file

dumpdata specific table Following command will dump only […]

Install mod_wsgi Mac

We’re going to use Homebrew to install mod_wsgi. There is some extra step to install it, you can read https://github.com/Homebrew/homebrew-apache to have more information. Then, load new Formulas into brew:

Finally install mod_wsgi

Once mod_wsgi installed, we’ll enable it in Apache: edit /etc/apache2/http.conf and add this line

Test the config and restart […]

1 2 3