Browse Source

Refs #23919 -- Removed encoding preambles and future imports

Claude Paroz 8 years ago
parent
commit
d7b9aaa366
100 changed files with 5 additions and 276 deletions
  1. 0 2
      django/__init__.py
  2. 1 1
      django/conf/app_template/admin.py-tpl
  3. 1 1
      django/conf/app_template/apps.py-tpl
  4. 1 1
      django/conf/app_template/models.py-tpl
  5. 1 1
      django/conf/app_template/tests.py-tpl
  6. 1 1
      django/conf/app_template/views.py-tpl
  7. 0 2
      django/conf/global_settings.py
  8. 0 3
      django/conf/locale/__init__.py
  9. 0 3
      django/conf/locale/ar/formats.py
  10. 0 3
      django/conf/locale/az/formats.py
  11. 0 3
      django/conf/locale/bg/formats.py
  12. 0 3
      django/conf/locale/bn/formats.py
  13. 0 3
      django/conf/locale/bs/formats.py
  14. 0 3
      django/conf/locale/ca/formats.py
  15. 0 3
      django/conf/locale/cs/formats.py
  16. 0 3
      django/conf/locale/cy/formats.py
  17. 0 3
      django/conf/locale/da/formats.py
  18. 0 3
      django/conf/locale/de/formats.py
  19. 0 4
      django/conf/locale/de_CH/formats.py
  20. 0 3
      django/conf/locale/el/formats.py
  21. 0 3
      django/conf/locale/en/formats.py
  22. 0 3
      django/conf/locale/en_AU/formats.py
  23. 0 3
      django/conf/locale/en_GB/formats.py
  24. 0 3
      django/conf/locale/eo/formats.py
  25. 0 3
      django/conf/locale/es/formats.py
  26. 0 3
      django/conf/locale/es_AR/formats.py
  27. 0 3
      django/conf/locale/es_CO/formats.py
  28. 0 3
      django/conf/locale/es_MX/formats.py
  29. 0 3
      django/conf/locale/es_NI/formats.py
  30. 0 3
      django/conf/locale/es_PR/formats.py
  31. 0 3
      django/conf/locale/et/formats.py
  32. 0 3
      django/conf/locale/eu/formats.py
  33. 0 3
      django/conf/locale/fa/formats.py
  34. 0 3
      django/conf/locale/fi/formats.py
  35. 0 3
      django/conf/locale/fr/formats.py
  36. 0 3
      django/conf/locale/fy/formats.py
  37. 0 3
      django/conf/locale/ga/formats.py
  38. 0 3
      django/conf/locale/gd/formats.py
  39. 0 3
      django/conf/locale/gl/formats.py
  40. 0 3
      django/conf/locale/he/formats.py
  41. 0 3
      django/conf/locale/hi/formats.py
  42. 0 3
      django/conf/locale/hr/formats.py
  43. 0 3
      django/conf/locale/hu/formats.py
  44. 0 3
      django/conf/locale/id/formats.py
  45. 0 3
      django/conf/locale/is/formats.py
  46. 0 3
      django/conf/locale/it/formats.py
  47. 0 3
      django/conf/locale/ja/formats.py
  48. 0 3
      django/conf/locale/ka/formats.py
  49. 0 3
      django/conf/locale/km/formats.py
  50. 0 3
      django/conf/locale/kn/formats.py
  51. 0 3
      django/conf/locale/ko/formats.py
  52. 0 3
      django/conf/locale/lt/formats.py
  53. 0 3
      django/conf/locale/lv/formats.py
  54. 0 3
      django/conf/locale/mk/formats.py
  55. 0 3
      django/conf/locale/ml/formats.py
  56. 0 3
      django/conf/locale/mn/formats.py
  57. 0 3
      django/conf/locale/nb/formats.py
  58. 0 3
      django/conf/locale/nl/formats.py
  59. 0 3
      django/conf/locale/nn/formats.py
  60. 0 3
      django/conf/locale/pl/formats.py
  61. 0 3
      django/conf/locale/pt/formats.py
  62. 0 3
      django/conf/locale/pt_BR/formats.py
  63. 0 3
      django/conf/locale/ro/formats.py
  64. 0 3
      django/conf/locale/ru/formats.py
  65. 0 3
      django/conf/locale/sk/formats.py
  66. 0 3
      django/conf/locale/sl/formats.py
  67. 0 3
      django/conf/locale/sq/formats.py
  68. 0 3
      django/conf/locale/sr/formats.py
  69. 0 3
      django/conf/locale/sr_Latn/formats.py
  70. 0 3
      django/conf/locale/sv/formats.py
  71. 0 3
      django/conf/locale/ta/formats.py
  72. 0 3
      django/conf/locale/te/formats.py
  73. 0 3
      django/conf/locale/th/formats.py
  74. 0 3
      django/conf/locale/tr/formats.py
  75. 0 4
      django/conf/locale/uk/formats.py
  76. 0 3
      django/conf/locale/vi/formats.py
  77. 0 3
      django/conf/locale/zh_Hans/formats.py
  78. 0 3
      django/conf/locale/zh_Hant/formats.py
  79. 0 3
      django/contrib/admin/checks.py
  80. 0 2
      django/contrib/admin/forms.py
  81. 0 2
      django/contrib/admin/helpers.py
  82. 0 3
      django/contrib/admin/migrations/0001_initial.py
  83. 0 3
      django/contrib/admin/migrations/0002_logentry_remove_auto_add.py
  84. 0 2
      django/contrib/admin/models.py
  85. 0 2
      django/contrib/admin/options.py
  86. 0 2
      django/contrib/admin/templatetags/admin_list.py
  87. 0 2
      django/contrib/admin/utils.py
  88. 0 2
      django/contrib/admin/widgets.py
  89. 0 2
      django/contrib/auth/backends.py
  90. 0 2
      django/contrib/auth/base_user.py
  91. 0 3
      django/contrib/auth/checks.py
  92. 0 2
      django/contrib/auth/forms.py
  93. 0 2
      django/contrib/auth/hashers.py
  94. 0 2
      django/contrib/auth/management/__init__.py
  95. 0 2
      django/contrib/auth/management/commands/changepassword.py
  96. 0 2
      django/contrib/auth/management/commands/createsuperuser.py
  97. 0 3
      django/contrib/auth/migrations/0001_initial.py
  98. 0 3
      django/contrib/auth/migrations/0002_alter_permission_name_max_length.py
  99. 0 3
      django/contrib/auth/migrations/0003_alter_user_email_max_length.py
  100. 0 3
      django/contrib/auth/migrations/0004_alter_user_username_opts.py

+ 0 - 2
django/__init__.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 from django.utils.version import get_version
 
 VERSION = (2, 0, 0, 'alpha', 0)

+ 1 - 1
django/conf/app_template/admin.py-tpl

@@ -1,3 +1,3 @@
-{{ unicode_literals }}from django.contrib import admin
+from django.contrib import admin
 
 # Register your models here.

+ 1 - 1
django/conf/app_template/apps.py-tpl

@@ -1,4 +1,4 @@
-{{ unicode_literals }}from django.apps import AppConfig
+from django.apps import AppConfig
 
 
 class {{ camel_case_app_name }}Config(AppConfig):

+ 1 - 1
django/conf/app_template/models.py-tpl

@@ -1,3 +1,3 @@
-{{ unicode_literals }}from django.db import models
+from django.db import models
 
 # Create your models here.

+ 1 - 1
django/conf/app_template/tests.py-tpl

@@ -1,3 +1,3 @@
-{{ unicode_literals }}from django.test import TestCase
+from django.test import TestCase
 
 # Create your tests here.

+ 1 - 1
django/conf/app_template/views.py-tpl

@@ -1,3 +1,3 @@
-{{ unicode_literals }}from django.shortcuts import render
+from django.shortcuts import render
 
 # Create your views here.

+ 0 - 2
django/conf/global_settings.py

@@ -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

+ 0 - 3
django/conf/locale/__init__.py

@@ -1,6 +1,3 @@
-# -*- encoding: utf-8 -*-
-from __future__ import unicode_literals
-
 """
 LANG_INFO is a dictionary structure to provide meta information about languages.
 

+ 0 - 3
django/conf/locale/ar/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/az/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/bg/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/bn/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/bs/formats.py

@@ -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.'

+ 0 - 3
django/conf/locale/ca/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/cs/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/cy/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/da/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/de/formats.py

@@ -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'

+ 0 - 4
django/conf/locale/de_CH/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/el/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/en/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/en_AU/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/en_GB/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/eo/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es_AR/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es_CO/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es_MX/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es_NI/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/es_PR/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/et/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/eu/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/fa/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/fi/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/fr/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/fy/formats.py

@@ -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 =

+ 0 - 3
django/conf/locale/ga/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/gd/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/gl/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/he/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/hi/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/hr/formats.py

@@ -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.'

+ 0 - 3
django/conf/locale/hu/formats.py

@@ -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.'

+ 0 - 3
django/conf/locale/id/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/is/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/it/formats.py

@@ -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

+ 0 - 3
django/conf/locale/ja/formats.py

@@ -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年n月j日'

+ 0 - 3
django/conf/locale/ka/formats.py

@@ -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 = 'l, j F, Y'

+ 0 - 3
django/conf/locale/km/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/kn/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/ko/formats.py

@@ -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년 n월 j일'

+ 0 - 3
django/conf/locale/lt/formats.py

@@ -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'Y \m. E j \d.'

+ 0 - 3
django/conf/locale/lv/formats.py

@@ -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'Y. \g\a\d\a j. F'

+ 0 - 3
django/conf/locale/mk/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/ml/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/mn/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/nb/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/nl/formats.py

@@ -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'                   # '20 januari 2009'

+ 0 - 3
django/conf/locale/nn/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/pl/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/pt/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/pt_BR/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/ro/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/ru/formats.py

@@ -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 г.'

+ 0 - 3
django/conf/locale/sk/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/sl/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/sq/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/sr/formats.py

@@ -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.'

+ 0 - 3
django/conf/locale/sr_Latn/formats.py

@@ -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.'

+ 0 - 3
django/conf/locale/sv/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/ta/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/te/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/th/formats.py

@@ -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'

+ 0 - 3
django/conf/locale/tr/formats.py

@@ -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'

+ 0 - 4
django/conf/locale/uk/formats.py

@@ -1,9 +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 E Y р.'

+ 0 - 3
django/conf/locale/vi/formats.py

@@ -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'\N\gà\y d \t\há\n\g n \nă\m Y'

+ 0 - 3
django/conf/locale/zh_Hans/formats.py

@@ -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年n月j日'                # 2016年9月5日

+ 0 - 3
django/conf/locale/zh_Hant/formats.py

@@ -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年n月j日'                # 2016年9月5日

+ 0 - 3
django/contrib/admin/checks.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from itertools import chain
 
 from django.apps import apps

+ 0 - 2
django/contrib/admin/forms.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 from django import forms
 from django.contrib.auth.forms import AuthenticationForm, PasswordChangeForm
 from django.utils.translation import ugettext_lazy as _

+ 0 - 2
django/contrib/admin/helpers.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import json
 
 from django import forms

+ 0 - 3
django/contrib/admin/migrations/0001_initial.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 import django.contrib.admin.models
 from django.conf import settings
 from django.db import migrations, models

+ 0 - 3
django/contrib/admin/migrations/0002_logentry_remove_auto_add.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from django.db import migrations, models
 from django.utils import timezone
 

+ 0 - 2
django/contrib/admin/models.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import json
 
 from django.conf import settings

+ 0 - 2
django/contrib/admin/options.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import copy
 import json
 import operator

+ 0 - 2
django/contrib/admin/templatetags/admin_list.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import datetime
 
 from django.contrib.admin.templatetags.admin_urls import add_preserved_filters

+ 0 - 2
django/contrib/admin/utils.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import datetime
 import decimal
 from collections import defaultdict

+ 0 - 2
django/contrib/admin/widgets.py

@@ -1,8 +1,6 @@
 """
 Form Widget classes specific to the Django admin site.
 """
-from __future__ import unicode_literals
-
 import copy
 
 from django import forms

+ 0 - 2
django/contrib/auth/backends.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 from django.contrib.auth import get_user_model
 from django.contrib.auth.models import Permission
 

+ 0 - 2
django/contrib/auth/base_user.py

@@ -2,8 +2,6 @@
 This module allows importing AbstractBaseUser even when django.contrib.auth is
 not in INSTALLED_APPS.
 """
-from __future__ import unicode_literals
-
 import unicodedata
 
 from django.contrib.auth import password_validation

+ 0 - 3
django/contrib/auth/checks.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from itertools import chain
 from types import MethodType
 

+ 0 - 2
django/contrib/auth/forms.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import unicodedata
 
 from django import forms

+ 0 - 2
django/contrib/auth/hashers.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import base64
 import binascii
 import hashlib

+ 0 - 2
django/contrib/auth/management/__init__.py

@@ -1,8 +1,6 @@
 """
 Creates permissions for all installed apps that need permissions.
 """
-from __future__ import unicode_literals
-
 import getpass
 import unicodedata
 

+ 0 - 2
django/contrib/auth/management/commands/changepassword.py

@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import getpass
 
 from django.contrib.auth import get_user_model

+ 0 - 2
django/contrib/auth/management/commands/createsuperuser.py

@@ -1,8 +1,6 @@
 """
 Management utility to create superusers.
 """
-from __future__ import unicode_literals
-
 import getpass
 import sys
 

+ 0 - 3
django/contrib/auth/migrations/0001_initial.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 import django.contrib.auth.models
 from django.contrib.auth import validators
 from django.db import migrations, models

+ 0 - 3
django/contrib/auth/migrations/0002_alter_permission_name_max_length.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from django.db import migrations, models
 
 

+ 0 - 3
django/contrib/auth/migrations/0003_alter_user_email_max_length.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from django.db import migrations, models
 
 

+ 0 - 3
django/contrib/auth/migrations/0004_alter_user_username_opts.py

@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from django.contrib.auth import validators
 from django.db import migrations, models
 from django.utils import six

Some files were not shown because too many files changed in this diff