current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
Django
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
50 Topics
35
requests
active
popular
Getting started with Django
Introduction Topic
54
Starting a Project
35
Virtual Environment
4 more examples
2 improvement requests
0 proposed changes
edited
Oct 20 at 5:58
+3
Settings
All Versions
18
Hiding secret data using a JSON file
10
Using BASE_DIR to ensure app portability
6 more examples
0 improvement requests
0 proposed changes
edited
Nov 15 at 3:16
+14
Models
All Versions
13
Adding a string representation of a model
8
Advanced models
8 more examples
2 improvement requests
0 proposed changes
edited
Nov 25 at 2:20
+20
Querysets
All Versions
9
Reduce number of queries on ForeignKey field (n+1 issue)
7
Get SQL for Django queryset
5 more examples
0 improvement requests
0 proposed changes
edited
Nov 28 at 16:48
+10
Database Setup
All Versions
8
Fixtures
7
PostgreSQL
2 more examples
0 improvement requests
0 proposed changes
edited
Nov 25 at 19:45
+2
Templating
All Versions
6
Templating in Function Based Views
5
Prevent sensitive methods from being called in templates
3 more examples
0 improvement requests
0 proposed changes
edited
Jul 29 at 19:27
+4
Middleware
All Versions
8
Middleware to filter by IP address
5
Add data to requests
2 more examples
0 improvement requests
0 proposed changes
edited
Aug 30 at 21:39
+2
Administration
All Versions
7
Dealing with foreign keys referencing large tables
6
Additional CSS styles and JS scripts for admin page
1 more example
1 improvement request
0 proposed changes
edited
Jul 31 at 11:30
F() expressions
All Versions
10
Avoiding race conditions
3
Updating queryset in bulk
0 improvement requests
0 proposed changes
edited
Oct 5 at 19:52
Deployment
All Versions
5
Simple remote deploy fabfile.py
3
Running Django application with Gunicorn
3 more examples
0 improvement requests
0 proposed changes
edited
Nov 5 at 15:36
+2
JSONField - a PostgreSQL specific field
1.9–1.10
4
Creating a JSONField
3
Creating an object with data in a JSONField
4 more examples
0 improvement requests
0 proposed changes
edited
Nov 26 at 23:38
+1
ArrayField - a PostgreSQL-specific field
1.8–1.10
3
Querying for membership of ArrayField with contains
2
A basic ArrayField
3 more examples
0 improvement requests
0 proposed changes
edited
Aug 7 at 15:06
Form Widgets
All Versions
4
Composite widget
4
Simple text input widget
0 improvement requests
0 proposed changes
edited
Oct 7 at 10:39
Unit Testing
All Versions
4
The Database and Testing
2
Limit the number of tests executed
3 more examples
2 improvement requests
0 proposed changes
edited
Sep 25 at 14:05
+3
Forms
All Versions
4
Defining a Django form from scratch (with widgets)
2
ModelForm Example
3 more examples
0 improvement requests
0 proposed changes
edited
Dec 1 at 20:46
+5
Authentication Backends
All Versions
7
Email Authentication Backend
0 improvement requests
0 proposed changes
edited
Jul 23 at 2:31
Context Processors
All Versions
5
Use a context processor to access settings.DEBUG in templates
2
Using a context processor to access your most recent blog entries in all templates
1 more example
0 improvement requests
0 proposed changes
edited
Jul 22 at 14:30
Extending or Substituting User Model
All Versions
4
Custom user model with email as primary login field.
3
Use the `email` as username and get rid of the `username` field
3 more examples
0 improvement requests
0 proposed changes
edited
Oct 21 at 5:10
Management Commands
All Versions
3
Builtin Management Commands
3
Creating and Running a Management Command
4 more examples
2 improvement requests
0 proposed changes
edited
Nov 6 at 11:52
+3
Signals
All Versions
5
Extending User Profile Example
1
How to find if it's an insert or update in the pre_save signal
1 more example
0 improvement requests
0 proposed changes
edited
Oct 11 at 23:55
1
2
3
next
Introduction Topic
Getting started with Django
Starting a Project
Virtual Environment
Django Concepts
Single File Hello World Example
A complete hello world example.
Deployment friendly Project with Docker support.
Stack Overflow works best with JavaScript enabled