Month: September 2015

Solve integrity error duplicate key in Django PostgreSQL

Solve integrity error duplicate key in Django PostgreSQL

This error caused by we’re using database from copy / clone database. The sequences will be mixed-up. To solved this, just follow this way : 12python manage.py sqlsequencereset <app-name> > app.sql psql -U username -d database -a -f < app.sql Then your problem shall gone!

Tutorial Implementation Google Cloud Messaging (GCM) with Django

Tutorial Implementation Google Cloud Messaging (GCM) with Django

Setup GCM for Android Client and Django in Server require efforts to know how it’s works. Here are simple steps to setup the newest GCM (Google Cloud Messaging) in Android. To understand about GCM, the flow is : 1. Create a Google APIs GCM project, which generates SENDER_ID and API_KEY for server implementation. 2. An …

+ Read More