Skip to content

Latest commit

 

History

History
46 lines (23 loc) · 2 KB

README.md

File metadata and controls

46 lines (23 loc) · 2 KB

Djangoproject ...😁😁

Project on Travel Web page using Django.

Django is a web application framework for Python. It is designed to prioritize principles of reusability and rapid development.

Because Django was developed in a fast-paced newsroom environment, it was designed to make common Web-development tasks fast and easy.

** First Clone it : https://github.com/anukaal/Djangoproject.git Download the docs/intro/install.txt for instructions on installing Django. Then Download Postgres which I have used As a Database which i have used in my prijects.**

Ridiculously fast.

Django was designed to help developers take applications from concept to completion as quickly as possible.

Fully loaded.

Django includes dozens of extras you can use to handle common Web development tasks. Django takes care of user authentication, content administration, site maps, RSS feeds, and many more tasks — right out of the box.

Lets go....To start

First, read docs/intro/install.txt for instructions on installing Django.

If Django is installed, you should see the version of your installation.

# python -m django --version

Creating a project

If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of settings for an instance of Django, including database configuration, Django-specific options and application-specific settings.

From the command line, cd into a directory where you’d like to store your code, then run the following command:

$ django-admin startproject mysite(your project name)

The development server

Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already, and run the following commands:

$ python manage.py runserver

Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked!