본문 바로가기

security_downloads

What is Django and Steps to install Django

728x90

What is Django ? steps to install Django.

Django

Django, it is an open source Web development framework that saves you time and makes Web development a joy.
Using Django, you can build and maintain high-quality Web applications with minimal effort.

Django is written in Python, a general purpose language that is well suited for developing web applications. Django loosely follows a model-view-controller design pattern, which greatly helps in building clean and maintainable web applications.

At its best, Web development is an exciting, creative act; at its worst, it can be a repetitive, frustrating nuisance. Django lets you focus on the fun stuff ” the crux of your Web application  while easing the pain of the repetitive bits. In doing so, it provides high-level abstractions of common Web development patterns, shortcuts for frequent programming tasks, and clear conventions for how to solve problems. At the same time, Django tries to stay out of your way, letting you work outside the scope of the framework as needed.

Python is a general purpose programming language. Although it is used for a wide variety of applications, Python is very suitable for developing web applications. It has a clean and elegant syntax, and is supported by a large library of standard and contributed modules, which covers everything from multi-threading to the zipping of files. The language’s object-oriented model is especially suited for MVC style development.

Sooner or later, performance will become a major concern with web projects, and Python’s runtime environment shines here, as it is known to be fast and stable. Python supports a wide range of web servers through modules, including the infamous Apache. Furthermore, it is available for all the major platforms: UNIX/Linux, Windows, and Mac. Python also supports a wide array of database servers, but you won’t have to deal directly with them; Django provides a unified layer of access to all available database engines.

Advantages of Django :

  • Tight Integration between components
  • Object relational Mapper
  • Clean URL Design
  • Automatic Administation interface Design
  • Advance Development Environment
  • Multi-Lingual Support

Install Django :

Before you start installing django please make sure you have instaled PYTHON very well.

Steps :

Download Django from http://www.djangoproject.com/download/

For Window User :
After downloading django from URL mentioned above, extract it in to your C Drive will make one folder
c:/Django-1.5

now you have all file in that folder which is necessary to install it.
open command prompt and go to c:/ Drive.

go to django folder by typing c:/cd django-1.5.

here we are ready to install Django.
c:Django-x.xx>python setup.py install

The last step is copying the django-admin.py file from Django-x.xxdjangobin
to somewhere in your system path, such as c:windows or the folder where you installed Python.

Testing of installation Django.
c:>django-admin.py –version

Installing Django on Linux/Unix System.

$ tar xfz Django-x.xx.tar.gz
$ cd Django-x.xx
$ sudo python setup.py install

so this is how you can install django in Windows and LinuxUnix System.

728x90

'security_downloads' 카테고리의 다른 글

What’s New In Python 3.4  (0) 2014.03.21
Distributing a Python command line application  (0) 2014.03.21
PyFilesystem  (0) 2014.03.21
How To Dissect Android Flappy Bird Malware  (0) 2014.03.21
도요타 급발진 관련 문서  (0) 2014.03.21