Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions django/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import unicode_literals

from django.utils.version import get_version

VERSION = (2, 0, 0, 'alpha', 0)
Expand Down
2 changes: 1 addition & 1 deletion django/conf/app_template/admin.py-tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ unicode_literals }}from django.contrib import admin
from django.contrib import admin

# Register your models here.
2 changes: 1 addition & 1 deletion django/conf/app_template/apps.py-tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ unicode_literals }}from django.apps import AppConfig
from django.apps import AppConfig


class {{ camel_case_app_name }}Config(AppConfig):
Expand Down
2 changes: 1 addition & 1 deletion django/conf/app_template/models.py-tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ unicode_literals }}from django.db import models
from django.db import models

# Create your models here.
2 changes: 1 addition & 1 deletion django/conf/app_template/tests.py-tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ unicode_literals }}from django.test import TestCase
from django.test import TestCase

# Create your tests here.
2 changes: 1 addition & 1 deletion django/conf/app_template/views.py-tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ unicode_literals }}from django.shortcuts import render
from django.shortcuts import render

# Create your views here.
2 changes: 0 additions & 2 deletions django/conf/global_settings.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# -*- coding: utf-8 -*-
"""
Default Django settings. Override these with settings in the module pointed to
by the DJANGO_SETTINGS_MODULE environment variable.
"""
from __future__ import unicode_literals


# This is defined here as a do-nothing function because we can't import
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- encoding: utf-8 -*-
from __future__ import unicode_literals

"""
LANG_INFO is a dictionary structure to provide meta information about languages.

Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/ar/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F، Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/az/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j E Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/bg/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'd F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/bn/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F, Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/bs/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. N Y.'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/ca/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/cs/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. E Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/cy/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y' # '25 Hydref 2006'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/da/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/de/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
Expand Down
4 changes: 0 additions & 4 deletions django/conf/locale/de_CH/formats.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
from __future__ import unicode_literals

DATE_FORMAT = 'j. F Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = 'j. F Y H:i'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/el/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'd/m/Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/en/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'N j, Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/en_AU/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j M Y' # '25 Oct 2006'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/en_GB/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j M Y' # '25 Oct 2006'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/eo/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j\-\a \d\e F Y' # '26-a de julio 1887'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es_AR/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j N Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es_CO/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es_MX/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es_NI/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/es_PR/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/et/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/eu/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'Yeko M\re\n d\a'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/fa/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/fi/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. E Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/fr/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/fy/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# DATE_FORMAT =
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/ga/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/gd/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/gl/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/he/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j בF Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/hi/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/hr/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. E Y.'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/hu/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'Y. F j.'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/id/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j N Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/is/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
Expand Down
3 changes: 0 additions & 3 deletions django/conf/locale/it/formats.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals

# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'd F Y' # 25 Ottobre 2006
Expand Down
Loading