Django template tags allows passing multiple variables or values to the assignment tags. Most people knows passing one variable, but not many and we see many questions how to pass it. Most are confused because of the colon separated passing of values to filters. Comma separation wont work either. The Django supports it by putting space as the separator.
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 networking enables the things in IoT to communicate with people and/or with each other. The main characteristics of IoT are
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 this post.
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 not be used as is, in any production requirement. But I am trying to explain the concept.
Pep-8 is the Style 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 the style guide for writing python code. It aims at providing recomendations and satandardize the formatting, naming convensions, proper commenting and more. The zen of python says "Readability counts" and it evolved with the fact that "Code is read more often than it is written". If the code is not readable, it's not understood. If it's not understood properly, it can't be maintained. If it can't be maintained, it will be eventually discarded. The PEP-8 helps you in writing maintainable, long living code. PEP-8 is available at he official python site here
The Zen of python, also known as Pep-20 is a collection of twenty principles that influences the development in python, by Tim Peters. You can view this on a python shell by importing this by typing command
import this on a python shell.
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 typical blog layout for the site. But this site you are reading now is a mezzanine blog with a fancy home page and a matching inner page. How its done ? First of all get a nice design from a web designer and convert it to HTML.
This article assumes that you are familiar with installing and configuring Django. Mezzanine ia a Django project at http://mezzanine.jupo.org/. It is licenced under BSD. It can be used, modified, and redistributed commercially. There is a demo available at http://mezzanine.jupo.org/en/admin/login.
“We need a website with blog!” That was the call. Thank you for being here. This is the website site for Atemon Technology Consultants LLP. A software engineering firm needs a website. First version was a plain HTML single page website with no dynamic content. Now we are going to take the company to next level and we wanted a better website with a blog to make it a place that share knowledge. We hope we will keep this blog a technical one.