Category Archives: django python

python

Python Class __init__(self) The instantiation operation (“calling” a class object) creates an empty object. Many classes like to create objects with instances customized to a specific initial state. Therefore a class may define a special method named __init__(), like this: … Continue reading

Posted in django python | Leave a comment

django python

Django Installation Ubuntu Update : sudo apt-get update sudo apt-get install binutils gdal-bin libproj-dev  python-psycopg2 python-setuptools python-mysqldbsudo easy_install Django Ref : https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#ubuntudebian https://docs.djangoproject.com/en/dev/topics/install/?from=olddocs#installing-an-official-release Verifying¶ To verify that Django can be seen by Python, type python from your shell. Then at … Continue reading

Posted in django python | Leave a comment