mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT settings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -154,6 +154,18 @@ MEDIA_ROOT = ''
|
||||
# Example: "http://media.lawrence.com"
|
||||
MEDIA_URL = ''
|
||||
|
||||
# Default formatting for date objects. See all available format strings here:
|
||||
# http://www.djangoproject.com/documentation/templates/#now
|
||||
DATE_FORMAT = 'N j, Y'
|
||||
|
||||
# Default formatting for datetime objects. See all available format strings here:
|
||||
# http://www.djangoproject.com/documentation/templates/#now
|
||||
DATETIME_FORMAT = 'N j, Y, P'
|
||||
|
||||
# Default formatting for time objects. See all available format strings here:
|
||||
# http://www.djangoproject.com/documentation/templates/#now
|
||||
TIME_FORMAT = 'P'
|
||||
|
||||
##############
|
||||
# MIDDLEWARE #
|
||||
##############
|
||||
|
||||
Reference in New Issue
Block a user