Django field lookup - contains and icontains image
Django field lookup - contains and icontains

Field lookups are how we specify the conditions in the WHERE clause of an SQL. They are specified as keyword arguments for QuerySet methodslike filter(), exclude() and get(). Check if …

read more
How to install  and do minimum configuration of Mezzanine image
How to install and do minimum configuration of Mezzanine

This article assumes that you are familiar with installing and configuring Django. Mezzanine is a Django project athttp://mezzanine.jupo.org/.It is licensed under BSD.It can be used, modified, and redistributed commercially. There …

read more
PEP-8 Style Guide for Python Code and its importance in daily affairs of python developer image
PEP-8 Style Guide for Python Code and its importance in daily affairs of python developer

Pep-8 is theStyle Guide for Python Code. As many of you know, PEP is "Python Enhancement Proposals". They provide standard reference points to write code in pythonic way. PEP-8 is …

read more
Internet of Things (IOT) - Welcome to a smarter world image
Internet of Things (IOT) - Welcome to a smarter world

IoT or Internet of things is a network of things or objects, usually connected via wireless network like household appliances. Usually, objects connected in IoT will be self configuring. This …

read more
Proof of work (PoW) - add security to your block chain image
Proof of work (PoW) - add security to your block chain

Proof of Work is the method by which the legitimacy of a transaction is verified. Let us try adding proof of work to the previous block chain we created at …

read more
Block Chain - What is it? How can we make one? Can we make a block chain in python? image
Block Chain - What is it? How can we make one? Can we make a block chain in python?

Block chain is the buzzword in the world now. This is a demonstration of what block chain is, in Python. There is nothing fancy or the code we write can …

read more
Customize HTML template for Mezzazine website image
Customize HTML template for Mezzazine website

In our previous blog, we saw how to install and configure Mezzanine blog and up running. As you can see, the site had no fancy design and it is a …

read more
Search database with regular expression in Django image
Search database with regular expression in Django

Regex and iregex are the two field lookups that enable us to search database with regular expressions. regex is case-sensitive where as iregexis case-insensitive. The regular expression syntax is that …

read more
PG::Error (FATAL: too many connections for role "xxxxxxx") image
PG::Error (FATAL: too many connections for role "xxxxxxx")

PostgreSQL could be configured to limit number of simultaneous connections to the database. The heroku comes with plans having connection limits. The 'Hobby' plans comes with 20 connections where as …

read more
Top 10 Programming Languages Used in Web Development image
Top 10 Programming Languages Used in Web Development

Python Python is an interpreted(processed at runtime by the interpreter), object-oriented(supports Object-Oriented style), interactive, simple, easy to learn, portable, extensible, embedded, high-level programming language for general-purpose programming. Created by Guido …

read more
Python - a general-purpose programming language. image
Python - a general-purpose programming language.

Python is an interpreted(processed at runtime by the interpreter), object-oriented(supports Object-Oriented style), interactive, simple, easy to learn, portable, extensible, embedded, high-level programming language for general-purpose programming. Created by Guido van …

read more
Python sort arrays with sorted method image
Python sort arrays with sorted method

Python provides a methodwhich returns the sorted array and will not change the original array, where as with change the array in place. sorted This method sorts the list and …

read more
Export results of SQLs from Heroku using Data Clips image
Export results of SQLs from Heroku using Data Clips

Heroku comes with nice database backup tools, both command line and web based. But how to export results of an SQL query? Heroku provides Data Clips. Data clips are a …

read more
Building a form - HTML Vs Django image
Building a form - HTML Vs Django

While creating a simple form in HTML we needs more works to be done in our templates like this: username.html As well as its <input> elements, a form must specify …

read more
Python magic method __init__ image
Python magic method __init__

Python comes with magic methods that starts its name with . The most common one is . What is so magical about ? The method need not be called or …

read more
Python magic method __new__ image
Python magic method __new__

Many developers believe that is the first method invoked in the life-cycle of an object. When we create an object or instantiate a class, the first method that gets called …

read more
Python sort list of dict by calculated value image
Python sort list of dict by calculated value

We often need to sort a list of dictionaries by calculated value. Python's sorted is very powerful so that it can do literally anything with custom key function Assume that …

read more
Python magic method __del__ image
Python magic method __del__

One of the useful magic method is __del__, which is the python destructor. It doesn't implement the behavior of del(x) instead, it defines the behavior for when an object is …

read more
Agile Methodology image
Agile Methodology

Agile methodology is an iterative method of software development. The key feature of agile methodology is the continuous iteration and testing of the developed code throughout the life cycle of …

read more
Software Engineering vs Software Development image
Software Engineering vs Software Development

Software Engineering and Software development does not mean the same thing. Software engineering is the establishment and use of sound engineering principles in order to economically obtain software that is …

read more
Scrum - Practical Agile Methodology image
Scrum - Practical Agile Methodology

Scrum is a most practiced, flexible, iterative, adaptive and effective methodology practiced in Agile development. It is designed to deliver significant values throughout the project development lifecycle. Scrum creates an …

read more