Data Science & Developer Roadmaps with Chat & Free Learning Resources
Quick install guide
Before you can use Django, you’ll need to get it installed. We have a complete installation guide that covers all the possibilities; this guide will guide you to a minimal installation that’ll work wh...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 1
Let’s learn by example. Throughout this tutorial, we’ll walk you through the creation of a basic poll application. It’ll consist of two parts: A public site that lets people view polls and vote in the...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 2
This tutorial begins where Tutorial 1 left off. We’ll set up the database, create your first model, and get a quick introduction to Django’s automatically-generated admin site. Where to get help: If y...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 3
This tutorial begins where Tutorial 2 left off. We’re continuing the web-poll application and will focus on creating the public interface – “views.” Where to get help: If you’re having trouble going t...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 4
This tutorial begins where Tutorial 3 left off. We’re continuing the web-poll application and will focus on form processing and cutting down our code. Where to get help: If you’re having trouble going...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 5
This tutorial begins where Tutorial 4 left off. We’ve built a web-poll application, and we’ll now create some automated tests for it. Where to get help: If you’re having trouble going through this tut...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 6
This tutorial begins where Tutorial 5 left off. We’ve built a tested web-poll application, and we’ll now add a stylesheet and an image. Aside from the HTML generated by the server, web applications ge...
Read more at Django documentation | Find similar documentsWriting your first Django app, part 7
This tutorial begins where Tutorial 6 left off. We’re continuing the web-poll application and will focus on customizing Django’s automatically-generated admin site that we first explored in Tutorial 2...
Read more at Django documentation | Find similar documentsAdvanced tutorial: How to write reusable apps
This advanced tutorial begins where Tutorial 7 left off. We’ll be turning our web-poll into a standalone Python package you can reuse in new projects and share with other people. If you haven’t recent...
Read more at Django documentation | Find similar documentsWhat to read next
So you’ve read all the introductory material and have decided you’d like to keep using Django. We’ve only just scratched the surface with this intro (in fact, if you’ve read every single word, you’ve ...
Read more at Django documentation | Find similar documentsWriting your first patch for Django
Introduction Interested in giving back to the community a little? Maybe you’ve found a bug in Django that you’d like to see fixed, or maybe there’s a small feature you want added. Contributing back to...
Read more at Django documentation | Find similar documentsHow to install Django
This document will get you up and running with Django. Install Python Django is a Python web framework. See What Python version can I use with Django? for details. Get the latest version of Python at ...
Read more at Django documentation | Find similar documentsModels and databases
A model is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database tabl...
Read more at Django documentation | Find similar documentsHandling HTTP requests
Information on handling HTTP requests in Django: URL dispatcher Writing views View decorators File Uploads Django shortcut functions Generic views Middleware How to use sessions
Read more at Django documentation | Find similar documentsWorking with forms
About this document This document provides an introduction to the basics of web forms and how they are handled in Django. For a more detailed look at specific areas of the forms API, see The Forms API...
Read more at Django documentation | Find similar documentsTemplates
Being a web framework, Django needs a convenient way to generate HTML dynamically. The most common approach relies on templates. A template contains the static parts of the desired HTML output as well...
Read more at Django documentation | Find similar documentsClass-based views
A view is a callable which takes a request and returns a response. This can be more than just a function, and Django provides an example of some classes which can be used as views. These allow you to ...
Read more at Django documentation | Find similar documentsMigrations
Migrations are Django’s way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your database schema. They’re designed to be mostly automatic, but you’ll need ...
Read more at Django documentation | Find similar documentsManaging files
This document describes Django’s file access APIs for files such as those uploaded by a user. The lower level APIs are general enough that you could use them for other purposes. If you want to handle ...
Read more at Django documentation | Find similar documentsTesting in Django
Automated testing is an extremely useful bug-killing tool for the modern web developer. You can use a collection of tests – a test suite – to solve, or avoid, a number of problems: When you’re writing...
Read more at Django documentation | Find similar documentsUser authentication in Django
Django comes with a user authentication system. It handles user accounts, groups, permissions and cookie-based user sessions. This section of the documentation explains how the default implementation ...
Read more at Django documentation | Find similar documentsDjango’s cache framework
A fundamental trade-off in dynamic websites is, well, they’re dynamic. Each time a user requests a page, the web server makes all sorts of calculations – from database queries to template rendering to...
Read more at Django documentation | Find similar documentsConditional View Processing
HTTP clients can send a number of headers to tell the server about copies of a resource that they have already seen. This is commonly used when retrieving a web page (using an HTTP GET request) to avo...
Read more at Django documentation | Find similar documentsCryptographic signing
The golden rule of web application security is to never trust data from untrusted sources. Sometimes it can be useful to pass data through an untrusted medium. Cryptographically signed values can be p...
Read more at Django documentation | Find similar documents- «
- ‹