Python Django Integration- Beginners Guide

Python Django Framework

Best Framework for Python-Django 

Welcome readers.Hope you read the python tutorials all around .Lets begin with a framework i love to work upon and still working these days ,learning to do new also.Its Django framework .This is indeed a wonderful framework with lots of build in support to python and web development . This provides built in admin panel,support DRY(Don't Repeat Your code) methodology of Python,easy to understand,lots of Django libraries to help you any time you stuck . Lets begin our journey  .

Step 1  -  Download and install Python :
Step 2 -  Download and install Django: in Linux ,reach the django directory,type the following line in terminal -
python install 
Step 3    Start working with Django .Create a project now by typing following code in terminal - startproject project_name 

Note :- Don't forget to put your project name instead of project_name
Step 4 Create new app.Note that a single project may contain multiple apps .Here is what we are going to do.We will create multiple apps in same project for our convenience. So type the following in terminal
python startapp app_name
Don't forget to put YOUR app name instead of app_name 
That's it .Your first app is ready to code .Now put some code in some given files and hurrey !!! You have just made an app .Isn't it Easy ?      Yes it is  .
Till now we don't need to worry about databases,and other.Django does it all for our apps.But as we move ahead we found it better to opt for some good databases(NOSQL preferred here) w'd be added for better performance and scalabilty 

No comments:

Post a Comment