In python, like in several other languages, break and continue statements exist to control execution flow. But when it comes to else, it is something new : for item in itemList: if item == 'DeveloperLogBook': print 'Item found' break else: print 'Item not found !' On the example
Wednesday, May 11, 2016
Python : django 1.8 + Restful api + ExtJs 6
This article follows the basic steps to quickly create an application server with django and a PostgreSQL database. It will explain how to integrate ExtJs into a django project and will show some examples of templating. Install django dependencies sudo pip install django-filter djangorestframework django-rest-auth django-registration Generate views and
Python : django 1.8 + PostgreSQL shortened tutorial
This article is a compressed version of the first 2 chapters of django official tutorial. It does not explain anything but simply goes through the basic procedures to create a application server in a short time. Installation instructions Django sudo pip install django PostgreSQL sudo apt-get install postgresql postgresql-client
Subscribe to:
Posts (Atom)