Saturday, 11 May 2013

Django: How to use Python in Web Application Development

Since last few weeks I have been Searching about How to develop Web Application using Python ?. Then I found solution to this question.

To use Python in Web Application or Web Development, you have to use Python Framework like Django, Pylons, web2py etc.

One of very Famous Framework is Django which is updated regularly. It is open source project. Web Application is very easy to develop with Django. Since Django is Python Framework, you have to have Python installed on your machine to run Django.

Python is directly available on Linux. To install python on Windows visit How to install Python on Windows platform (If you are using windows, I insist to have look at this post and check for necessary environment variables). Now i Suppose you have python installed on your Machine.

There are two version of Django available to you.

  1. The latest official release and
  2. the development version.

Note: Official release is tested and stable version, while Development version contains latest features of Django.

Now download any version from https://www.djangoproject.com/download/.

How to Install Django on Windows and Linux?

Now for Linux run following Command to Install Django:

  • tar xzvf Django-1.5.1.tar.gz(Unzip the compressed file).
  • cd Django-1.5.1(Directory name may vary as per versino.)
  • sudo python setup.py install(terminal will ask for root password).

And For Windows

  • Unzip the tar file using 7-zip or other software.
  • Goto to directory that contains setup.py file.
  • Run python setup.py install command.

Now Django is installed on your Machine.To check installation Go to your Python interpreter then:

  • run import django command.
  • then run django.VERSION command.
  • You should see output: (1, 5, 1, 'final', 0) (Which shows version of Django on your Machine).

To Develop Website using Django you should have basic knowledge of Python.

In Second part, I have described, In Detail, How to Create very Basic and First Web Application using Django Web Framework

Django is very famous for its documentation, So you can Start developing Website using this Framework. Documentation is available at https://docs.djangoproject.com/. Another Useful link is https://www.djangobook.com/


Was this Information helpful?

Yes No


13 comments:


  1. Thank you so much! That did the trick, you saved me more endless hours of searching for a fix.






    Web Development

    ReplyDelete
  2. I appreciate you taking the time to write up this nice article. As I have begun my search into understanding web app development and looking to dive into it myself this has helped piece together the various parts I have already researched and provide great links to resources for learning.

    ReplyDelete
  3. I think this is a nice and better article. It is very useful to learn more and more in the better way.
    web development in Chennai

    ReplyDelete
  4. Hello there, I founԁ your blog viа Google аt the same time аs
    searсhing for a relatеd topіc, your webѕite got hеre up, it looκs gooԁ.
    I'ѵe booκmaгkeԁ it in my google boοkmаrks.

    Ηi theгe, simply changed into аwаre
    of your weblog thгough Gоogle, and lοcated that it's truly іnformative.
    I am gonna watch out for bruѕsels. I'll аρρreciate shоuld
    you ргoceed this in future. A lοt of fоlκs
    will probably be benefitеԁ from уour writing.
    Cheers!

    Haѵе а look at my web site; web templates

    ReplyDelete
  5. I'm not in a hurry to make web applications in Python so I really want to learn it thoroughly so as not to leave any gaps in my knowledge of the technologies involving web development in Python. Are there any books, resource or techniques to help me in my endeavor? In what order should I do/read them?

    ReplyDelete
  6. Hi,this is nice article,i got so much information,thanks for post Web Application Development services

    ReplyDelete
  7. I'm really inspired together with your writing abilities as neatly as with the format in your weblog. Is that this a paid subject or did you modify it your self? Either way stay up the nice high quality writing, it is uncommon to see a great blog like this one nowadays.
    Hire Magento Developers

    ReplyDelete
  8. Wow this is great new. This having nice information’s on English Language. Thanks for the nice news best complement from, Web Application Development

    ReplyDelete
  9. This is nice work web application development services is now becomes very common because of technology gets boost.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. Wow superb information guys. Thanks to share python use in web application
    Webdesign Services

    ReplyDelete