core.management.BaseCommand.can_import_settings

BaseCommand.can_import_settings A boolean indicating whether the command needs to be able to import Django settings; if True

2016-10-09 18:34:54
core.management.BaseCommand.leave_locale_alone

BaseCommand.leave_locale_alone A boolean indicating whether the locale set in settings should be preserved during the execution

2016-10-09 18:34:55
core.management.LabelCommand

class LabelCommand A management command which takes one or more arbitrary arguments (labels) on the command line, and does something

2016-10-09 18:34:56
Writing custom model fields

Introduction The model reference documentation explains how to use Django’s standard field classes –

2016-10-09 18:41:18
core.files.storage.get_available_name()

get_available_name(name, max_length=None) Returns a filename that is available in the storage mechanism, possibly taking the

2016-10-09 18:34:45
Providing initial data for models

It’s sometimes useful to pre-populate your database with hard-coded data when you’re first setting up an app. You can provide initial data via fixtures.

2016-10-09 18:39:25
template.Library.filter()

django.template.Library.filter() Once you’ve written your filter definition, you need to register it with your Library

2016-10-09 18:39:48
core.files.storage.

_open(name, mode='rb') Required. Called by Storage.open(), this

2016-10-09 18:34:48
Authenticating against Django’s user database from Apache

Since keeping multiple authentication databases in sync is a common problem when dealing with Apache, you can configure Apache to authenticate against Django’s

2016-10-09 18:34:32
Writing database migrations

This document explains how to structure and write database migrations for different scenarios you might encounter. For introductory material on migrations, see the

2016-10-09 18:41:19