# Getting Started with Django

DevFeed: [Getting Started with Django](<https://devfeed.tech/articles/getting-started-with-django-41106.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2011/11/12/Getting-Started-with-Django/>)

Author: Map

Published: 2011-11-13T03:55:56Z

Content type: tutorial

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Python](<https://devfeed.tech/topics/python.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [commands](<https://devfeed.tech/tags/commands.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [database](<https://devfeed.tech/tags/database.md>), [django](<https://devfeed.tech/tags/django.md>), [framework](<https://devfeed.tech/tags/framework.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [python](<https://devfeed.tech/tags/python.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

## AI overview

A beginner tutorial introducing Django as a Python web framework and explaining its MVT structure. It guides readers through creating a Django project and describes core files including manage.py, settings.py, and urls.py.

## Source excerpt

For those completely new to web development, Django is a web framework that makes it easier to build web applications with Python. For those that have some knowledge of other web frameworks and Django you may be able to fly through much of the following. Django is a slight modification on the MVC construct which views itself as a MVT Model, View, Template. Django views a website as a project and within it smaller apps are contained. Earlier we installed Django into your virtual environment. If your environment is loaded we can get started with a Django project. First lets create the project: django-admin.py startproject myproject This should have created a directory for your project called myproject. Within the myproject folder you'll find some core files to every Django project. $ ls myproject venv $ ls myproject manage.py myproject $ ls myproject/myproject __init__.py settings.py urls.py Let's examine a little of each of the files and what they're used for: manage.py - A management utility for interacting with your Django project. In addition to the default commands available which you see by running python manage.py, you can create custom commands (we'll get into that much later). settings.py - This is the settings file for your application. Here you'll put various configuration and load things such as your database connection. urls.py - This is the place to setup how your urls will work. You'll define a path for the url and then which code is to be executed when you visit that url.