python

Find max occurrences in python string

Hi Friend, This is very easy few lines of code in python to find maximum occurrences of characters in string. I hope that no need to explain more about the code here. It clearly tells ...
python

How to calculate CRC value in python?

Hi Folks, After a long while I’ve found a new solution for CRC calculation in python. For example, if you give input ‘010300000002’ then returned output value will ...
python

How to exit from loop when any key is pressed in python?

Hi folks, Here is the script for exit from the loop when any key is pressed. It is loop. Don’t try to put this is in while loop. It will make a infinite loop structure. If your ...
GA_Home_Hero_01_dashboard

How to get Google Analytics data in your Django or Python application?

Hi Friends, Almost I’ve spent half a day for getting ‘Google Analytics’ data to my Django application. It is very easy. There are couple of packages available over ...
download

How to handle multiple DB in Django?

Hi Friends, Now I am going to share my experience that clearly tells you how to handle multiple databases in your Django projects. Why am I coming here to explain this? We had a client ...
download

How to customize User Model in Django1.5+?

Hi Friends, Django1.5+ version supports Customized User Model. This is the wonderful feature in Django Auth Framework(for more see release notes). I am giving you very straight codes ...
images

Region and Region wise Country YAML List for Django fixtures

Hi Friends, Most of the time we spend much time in making Region and Regional wise Country YAML fixtures for Django applications. All the region and country picked from standard region ...
© 2017 Techy Diary. All rights reserved.
Powered by Charvi Groups