diff --git a/.tx/config b/.tx/config index 565b325245..eda0092a4f 100644 --- a/.tx/config +++ b/.tx/config @@ -37,11 +37,6 @@ file_filter = django/contrib/flatpages/locale//LC_MESSAGES/django.po source_file = django/contrib/flatpages/locale/en/LC_MESSAGES/django.po source_lang = en -[django.contrib-formtools] -file_filter = django/contrib/formtools/locale//LC_MESSAGES/django.po -source_file = django/contrib/formtools/locale/en/LC_MESSAGES/django.po -source_lang = en - [django.contrib-gis] file_filter = django/contrib/gis/locale//LC_MESSAGES/django.po source_file = django/contrib/gis/locale/en/LC_MESSAGES/django.po diff --git a/django/contrib/formtools/__init__.py b/django/contrib/formtools/__init__.py deleted file mode 100644 index b82588d8e7..0000000000 --- a/django/contrib/formtools/__init__.py +++ /dev/null @@ -1 +0,0 @@ -default_app_config = 'django.contrib.formtools.apps.FormToolsConfig' diff --git a/django/contrib/formtools/apps.py b/django/contrib/formtools/apps.py deleted file mode 100644 index 9b76766d1a..0000000000 --- a/django/contrib/formtools/apps.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.apps import AppConfig - -from django.utils.translation import ugettext_lazy as _ - - -class FormToolsConfig(AppConfig): - name = 'django.contrib.formtools' - verbose_name = _("Form Tools") diff --git a/django/contrib/formtools/locale/af/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/af/LC_MESSAGES/django.mo deleted file mode 100644 index 9db8fb6c12..0000000000 Binary files a/django/contrib/formtools/locale/af/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/af/LC_MESSAGES/django.po b/django/contrib/formtools/locale/af/LC_MESSAGES/django.po deleted file mode 100644 index 683c206d1a..0000000000 --- a/django/contrib/formtools/locale/af/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Afrikaans (http://www.transifex.com/projects/p/django/" -"language/af/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: af\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ar/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ar/LC_MESSAGES/django.mo deleted file mode 100644 index 237e54be95..0000000000 Binary files a/django/contrib/formtools/locale/ar/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ar/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ar/LC_MESSAGES/django.po deleted file mode 100644 index 8eb82160fe..0000000000 --- a/django/contrib/formtools/locale/ar/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Bashar Al-Abdulhadi, 2014 -# Eyad Toma , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 14:03+0000\n" -"Last-Translator: Bashar Al-Abdulhadi\n" -"Language-Team: Arabic (http://www.transifex.com/projects/p/django/language/" -"ar/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "أدوات النموذج" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "الخطوة الأولى" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "الخطوة السابقة" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "أرسل" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "بيانات ManagementForm مفقودة أو تم العبث بها" diff --git a/django/contrib/formtools/locale/ast/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ast/LC_MESSAGES/django.mo deleted file mode 100644 index 6ec68eeca7..0000000000 Binary files a/django/contrib/formtools/locale/ast/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ast/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ast/LC_MESSAGES/django.po deleted file mode 100644 index de40b1b032..0000000000 --- a/django/contrib/formtools/locale/ast/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Ḷḷumex03 , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Asturian (http://www.transifex.com/projects/p/django/language/" -"ast/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ast\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primer pasu" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "pasu postreru" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/az/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/az/LC_MESSAGES/django.mo deleted file mode 100644 index b9a6ccfec9..0000000000 Binary files a/django/contrib/formtools/locale/az/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/az/LC_MESSAGES/django.po b/django/contrib/formtools/locale/az/LC_MESSAGES/django.po deleted file mode 100644 index 7038d938d7..0000000000 --- a/django/contrib/formtools/locale/az/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Azerbaijani (http://www.transifex.com/projects/p/django/" -"language/az/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: az\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/be/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/be/LC_MESSAGES/django.mo deleted file mode 100644 index de434d2ff5..0000000000 Binary files a/django/contrib/formtools/locale/be/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/be/LC_MESSAGES/django.po b/django/contrib/formtools/locale/be/LC_MESSAGES/django.po deleted file mode 100644 index 11b71db571..0000000000 --- a/django/contrib/formtools/locale/be/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Belarusian (http://www.transifex.com/projects/p/django/" -"language/be/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: be\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "першы крок" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "папярэдні крок" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "падаць" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/bg/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/bg/LC_MESSAGES/django.mo deleted file mode 100644 index 85201dc3c9..0000000000 Binary files a/django/contrib/formtools/locale/bg/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/bg/LC_MESSAGES/django.po b/django/contrib/formtools/locale/bg/LC_MESSAGES/django.po deleted file mode 100644 index 19b1616328..0000000000 --- a/django/contrib/formtools/locale/bg/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Georgi Kostadinov , 2012 -# Lyuboslav Petrov , 2014 -# Todor Lubenov , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Bulgarian (http://www.transifex.com/projects/p/django/" -"language/bg/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: bg\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "първа стъпка" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "предишна стъпка" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "запази" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/bn/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/bn/LC_MESSAGES/django.mo deleted file mode 100644 index 120dca5839..0000000000 Binary files a/django/contrib/formtools/locale/bn/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/bn/LC_MESSAGES/django.po b/django/contrib/formtools/locale/bn/LC_MESSAGES/django.po deleted file mode 100644 index f45fd78074..0000000000 --- a/django/contrib/formtools/locale/bn/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Bengali (http://www.transifex.com/projects/p/django/language/" -"bn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: bn\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/br/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/br/LC_MESSAGES/django.mo deleted file mode 100644 index 022537dae9..0000000000 Binary files a/django/contrib/formtools/locale/br/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/br/LC_MESSAGES/django.po b/django/contrib/formtools/locale/br/LC_MESSAGES/django.po deleted file mode 100644 index f3e8d89203..0000000000 --- a/django/contrib/formtools/locale/br/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Fulup , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Breton (http://www.transifex.com/projects/p/django/language/" -"br/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: br\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "pazenn gentañ" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "pazenn gent" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "kas" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/bs/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/bs/LC_MESSAGES/django.mo deleted file mode 100644 index df9350bc94..0000000000 Binary files a/django/contrib/formtools/locale/bs/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/bs/LC_MESSAGES/django.po b/django/contrib/formtools/locale/bs/LC_MESSAGES/django.po deleted file mode 100644 index 0b7f5ab474..0000000000 --- a/django/contrib/formtools/locale/bs/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Bosnian (http://www.transifex.com/projects/p/django/language/" -"bs/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ca/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ca/LC_MESSAGES/django.mo deleted file mode 100644 index 9bb8931a95..0000000000 Binary files a/django/contrib/formtools/locale/ca/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ca/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ca/LC_MESSAGES/django.po deleted file mode 100644 index 80d57fcdfb..0000000000 --- a/django/contrib/formtools/locale/ca/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Carles Barrobés , 2012,2014 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-16 10:54+0000\n" -"Last-Translator: Carles Barrobés \n" -"Language-Team: Catalan (http://www.transifex.com/projects/p/django/language/" -"ca/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ca\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Eines de Formulari" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primer pas" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "pas anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Falten dades de ManagementForm o s'ha manipulat." diff --git a/django/contrib/formtools/locale/cs/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/cs/LC_MESSAGES/django.mo deleted file mode 100644 index 156c88a620..0000000000 Binary files a/django/contrib/formtools/locale/cs/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/cs/LC_MESSAGES/django.po b/django/contrib/formtools/locale/cs/LC_MESSAGES/django.po deleted file mode 100644 index 7479012d5d..0000000000 --- a/django/contrib/formtools/locale/cs/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Vlada Macek , 2012-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-06-23 09:21+0000\n" -"Last-Translator: Vlada Macek \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/django/language/" -"cs/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: cs\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Nástroje pro formuláře" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "první krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "předchozí krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "odeslat" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Data objektu ManagementForm chybí nebo byla pozměněna." diff --git a/django/contrib/formtools/locale/cy/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/cy/LC_MESSAGES/django.mo deleted file mode 100644 index 49c026bac2..0000000000 Binary files a/django/contrib/formtools/locale/cy/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/cy/LC_MESSAGES/django.po b/django/contrib/formtools/locale/cy/LC_MESSAGES/django.po deleted file mode 100644 index 40b5319cc5..0000000000 --- a/django/contrib/formtools/locale/cy/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Maredudd ap Gwyndaf , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-26 14:33+0000\n" -"Last-Translator: Maredudd ap Gwyndaf \n" -"Language-Team: Welsh (http://www.transifex.com/projects/p/django/language/" -"cy/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: cy\n" -"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != " -"11) ? 2 : 3;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Offer Ffurflenni" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "cam cyntaf" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "cam blaenorol" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "cyflwyno" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Mae data ManagementForm ar goll neu mae rhywun wedi ymyrryd ynddo." diff --git a/django/contrib/formtools/locale/da/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/da/LC_MESSAGES/django.mo deleted file mode 100644 index 75bf132045..0000000000 Binary files a/django/contrib/formtools/locale/da/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/da/LC_MESSAGES/django.po b/django/contrib/formtools/locale/da/LC_MESSAGES/django.po deleted file mode 100644 index 8917d55191..0000000000 --- a/django/contrib/formtools/locale/da/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Christian Joergensen , 2012 -# Erik Wognsen , 2013-2014 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-18 08:38+0000\n" -"Last-Translator: Erik Wognsen \n" -"Language-Team: Danish (http://www.transifex.com/projects/p/django/language/" -"da/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: da\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Formularværktøjer" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "første skridt" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "forrige skridt" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "send" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm-data mangler eller er blevet manipuleret." diff --git a/django/contrib/formtools/locale/de/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 740d350d58..0000000000 Binary files a/django/contrib/formtools/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/de/LC_MESSAGES/django.po b/django/contrib/formtools/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index dbf8820d52..0000000000 --- a/django/contrib/formtools/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# André Hagenbruch, 2012 -# Jannis Vajen, 2013 -# Jannis Leidel , 2011,2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-21 07:49+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: German (http://www.transifex.com/projects/p/django/language/" -"de/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Formular-Tools" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "Erster Schritt" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "Vorheriger Schritt" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "Abschicken" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm-Daten fehlen oder wurden manipuliert." diff --git a/django/contrib/formtools/locale/el/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/el/LC_MESSAGES/django.mo deleted file mode 100644 index ec157dc113..0000000000 Binary files a/django/contrib/formtools/locale/el/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/el/LC_MESSAGES/django.po b/django/contrib/formtools/locale/el/LC_MESSAGES/django.po deleted file mode 100644 index 080b2fa975..0000000000 --- a/django/contrib/formtools/locale/el/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Panos Laganakos , 2014 -# Yorgos Pagles , 2011-2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-17 09:46+0000\n" -"Last-Translator: Panos Laganakos \n" -"Language-Team: Greek (http://www.transifex.com/projects/p/django/language/" -"el/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: el\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Eργαλεία Φόρμας" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "πρώτο βήμα" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "επόμενο βήμα" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "αποδοχή" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Tα δεδομένα της ManagementForm λείπουν ή έχουν αλλοιωθεί." diff --git a/django/contrib/formtools/locale/en/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 08a7b68596..0000000000 Binary files a/django/contrib/formtools/locale/en/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/en/LC_MESSAGES/django.po b/django/contrib/formtools/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index d928a897f4..0000000000 --- a/django/contrib/formtools/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,34 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -msgid "" -msgstr "" -"Project-Id-Version: Django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:17+0200\n" -"PO-Revision-Date: 2010-05-13 15:35+0200\n" -"Last-Translator: Django team\n" -"Language-Team: English \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.mo deleted file mode 100644 index d822a2b82d..0000000000 Binary files a/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.po b/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.po deleted file mode 100644 index 464f3ffebf..0000000000 --- a/django/contrib/formtools/locale/en_AU/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: English (Australia) (http://www.transifex.com/projects/p/" -"django/language/en_AU/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: en_AU\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.mo deleted file mode 100644 index d0095233a1..0000000000 Binary files a/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.po b/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.po deleted file mode 100644 index 1490e5f94d..0000000000 --- a/django/contrib/formtools/locale/en_GB/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# jon_atkinson , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/" -"django/language/en_GB/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: en_GB\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "first step" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "prev step" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "submit" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/eo/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/eo/LC_MESSAGES/django.mo deleted file mode 100644 index d2ddc4ad5e..0000000000 Binary files a/django/contrib/formtools/locale/eo/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/eo/LC_MESSAGES/django.po b/django/contrib/formtools/locale/eo/LC_MESSAGES/django.po deleted file mode 100644 index b549f20867..0000000000 --- a/django/contrib/formtools/locale/eo/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Baptiste Darthenay , 2011 -# Baptiste Darthenay , 2013-2014 -# Adamo Mesha , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-21 14:04+0000\n" -"Last-Translator: Baptiste Darthenay \n" -"Language-Team: Esperanto (http://www.transifex.com/projects/p/django/" -"language/eo/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: eo\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Formularaj iloj" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "unua paŝo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "antaŭa paŝo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "sendi" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm datumojn mankas aŭ estis difektitaj." diff --git a/django/contrib/formtools/locale/es/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index 35bd786081..0000000000 Binary files a/django/contrib/formtools/locale/es/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/es/LC_MESSAGES/django.po b/django/contrib/formtools/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index 982bdc3e23..0000000000 --- a/django/contrib/formtools/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Antoni Aloy , 2012-2013 -# Ernesto Avilés Vzqz , 2014 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-07-22 03:05+0000\n" -"Last-Translator: Ernesto Avilés Vzqz \n" -"Language-Team: Spanish (http://www.transifex.com/projects/p/django/language/" -"es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Herramientas de formulario" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primer paso" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "paso anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Los datos del ManagementForm faltan o han sido estropeados." diff --git a/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.mo deleted file mode 100644 index 15dc6aa179..0000000000 Binary files a/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.po b/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.po deleted file mode 100644 index 082a1510ce..0000000000 --- a/django/contrib/formtools/locale/es_AR/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Ramiro Morales , 2012-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-07-03 10:54+0000\n" -"Last-Translator: Ramiro Morales \n" -"Language-Team: Spanish (Argentina) (http://www.transifex.com/projects/p/" -"django/language/es_AR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es_AR\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Herramientas de formularios" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primer paso" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "paso previo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" -"Los datos correspondientes al ManagementForm no existen o han sido " -"modificados" diff --git a/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.mo deleted file mode 100644 index 4878001193..0000000000 Binary files a/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.po b/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.po deleted file mode 100644 index c156a1971b..0000000000 --- a/django/contrib/formtools/locale/es_MX/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Abraham Estrada , 2011-2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Spanish (Mexico) (http://www.transifex.com/projects/p/django/" -"language/es_MX/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es_MX\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primer paso" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "paso anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.mo deleted file mode 100644 index ff6a9ea4bf..0000000000 Binary files a/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.po b/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.po deleted file mode 100644 index a55ef2a4f3..0000000000 --- a/django/contrib/formtools/locale/es_VE/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Spanish (Venezuela) (http://www.transifex.com/projects/p/" -"django/language/es_VE/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es_VE\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/et/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/et/LC_MESSAGES/django.mo deleted file mode 100644 index 3b543b3318..0000000000 Binary files a/django/contrib/formtools/locale/et/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/et/LC_MESSAGES/django.po b/django/contrib/formtools/locale/et/LC_MESSAGES/django.po deleted file mode 100644 index 05bbe3d684..0000000000 --- a/django/contrib/formtools/locale/et/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Janno Liivak , 2013 -# Marti Raudsepp , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-14 19:48+0000\n" -"Last-Translator: Marti Raudsepp \n" -"Language-Team: Estonian (http://www.transifex.com/projects/p/django/language/" -"et/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: et\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Vormi Tööriistad" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "esimene samm" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "eelmine samm" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "kinnita" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm andmed puuduvad või neid on muudetud." diff --git a/django/contrib/formtools/locale/eu/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/eu/LC_MESSAGES/django.mo deleted file mode 100644 index 214a04d041..0000000000 Binary files a/django/contrib/formtools/locale/eu/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/eu/LC_MESSAGES/django.po b/django/contrib/formtools/locale/eu/LC_MESSAGES/django.po deleted file mode 100644 index 7cdd8c706c..0000000000 --- a/django/contrib/formtools/locale/eu/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Aitzol Naberan , 2011-2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Basque (http://www.transifex.com/projects/p/django/language/" -"eu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: eu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "lehen pausua" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "aurreko pausua" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "bidali" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/fa/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/fa/LC_MESSAGES/django.mo deleted file mode 100644 index 736f2ede3d..0000000000 Binary files a/django/contrib/formtools/locale/fa/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/fa/LC_MESSAGES/django.po b/django/contrib/formtools/locale/fa/LC_MESSAGES/django.po deleted file mode 100644 index 3a58571f38..0000000000 --- a/django/contrib/formtools/locale/fa/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Ali Nikneshan , 2012 -# Jannis Leidel , 2011 -# Reza Mohammadi , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Persian (http://www.transifex.com/projects/p/django/language/" -"fa/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fa\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "گام اول" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "گام قبل" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "ارسال" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/fi/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/fi/LC_MESSAGES/django.mo deleted file mode 100644 index f3aeb7007a..0000000000 Binary files a/django/contrib/formtools/locale/fi/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/fi/LC_MESSAGES/django.po b/django/contrib/formtools/locale/fi/LC_MESSAGES/django.po deleted file mode 100644 index 0271ee568c..0000000000 --- a/django/contrib/formtools/locale/fi/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Klaus Dahlén , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Finnish (http://www.transifex.com/projects/p/django/language/" -"fi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "ensimmäinen vaihe" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "edellinen vaihe" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "lähetä" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/fr/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 6850c2d894..0000000000 Binary files a/django/contrib/formtools/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/fr/LC_MESSAGES/django.po b/django/contrib/formtools/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index b0c80717a1..0000000000 --- a/django/contrib/formtools/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,42 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Claude Paroz , 2013-2014 -# Claude Paroz , 2011 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 10:04+0000\n" -"Last-Translator: Claude Paroz \n" -"Language-Team: French (http://www.transifex.com/projects/p/django/language/" -"fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Outils de formulaires" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "première étape" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "étape précédente" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "soumettre" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" -"Les données du formulaire ManagementForm sont manquantes ou ont été " -"manipulées." diff --git a/django/contrib/formtools/locale/fy/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/fy/LC_MESSAGES/django.mo deleted file mode 100644 index bf4c7ba3b8..0000000000 Binary files a/django/contrib/formtools/locale/fy/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/fy/LC_MESSAGES/django.po b/django/contrib/formtools/locale/fy/LC_MESSAGES/django.po deleted file mode 100644 index 2d8137e755..0000000000 --- a/django/contrib/formtools/locale/fy/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-14 13:12+0000\n" -"Last-Translator: Claude Paroz \n" -"Language-Team: Western Frisian (http://www.transifex.com/projects/p/django/" -"language/fy/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fy\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ga/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ga/LC_MESSAGES/django.mo deleted file mode 100644 index ef4e0bac84..0000000000 Binary files a/django/contrib/formtools/locale/ga/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ga/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ga/LC_MESSAGES/django.po deleted file mode 100644 index 79d363b153..0000000000 --- a/django/contrib/formtools/locale/ga/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Michael Thornhill , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Irish (http://www.transifex.com/projects/p/django/language/" -"ga/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ga\n" -"Plural-Forms: nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : " -"4);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "chéad chéim" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "chéim roimhe seo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "chur faoi bhráid" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/gl/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/gl/LC_MESSAGES/django.mo deleted file mode 100644 index 7b58abf5ec..0000000000 Binary files a/django/contrib/formtools/locale/gl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/gl/LC_MESSAGES/django.po b/django/contrib/formtools/locale/gl/LC_MESSAGES/django.po deleted file mode 100644 index c902b6218a..0000000000 --- a/django/contrib/formtools/locale/gl/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# fasouto , 2011 -# fonso , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Galician (http://www.transifex.com/projects/p/django/language/" -"gl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: gl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primeiro paso" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "paso anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/he/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/he/LC_MESSAGES/django.mo deleted file mode 100644 index 1ebcd2aa2b..0000000000 Binary files a/django/contrib/formtools/locale/he/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/he/LC_MESSAGES/django.po b/django/contrib/formtools/locale/he/LC_MESSAGES/django.po deleted file mode 100644 index 1d3d90d355..0000000000 --- a/django/contrib/formtools/locale/he/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Alex Gaynor , 2012 -# Jannis Leidel , 2011 -# Meir Kriheli , 2012-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-21 14:17+0000\n" -"Last-Translator: Meir Kriheli \n" -"Language-Team: Hebrew (http://www.transifex.com/projects/p/django/language/" -"he/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: he\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "כלי טופס" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "צעד ראשון" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "צעד אחרון" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "שלח" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "מידע ManagementForm חסר או התעסקו איתו." diff --git a/django/contrib/formtools/locale/hi/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/hi/LC_MESSAGES/django.mo deleted file mode 100644 index 0cd5fdc8e5..0000000000 Binary files a/django/contrib/formtools/locale/hi/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/hi/LC_MESSAGES/django.po b/django/contrib/formtools/locale/hi/LC_MESSAGES/django.po deleted file mode 100644 index 251564f4c8..0000000000 --- a/django/contrib/formtools/locale/hi/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Chandan kumar , 2012 -# Sandeep Satavlekar , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Hindi (http://www.transifex.com/projects/p/django/language/" -"hi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: hi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "पहला कदम" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "पिछला कदम" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "प्रस्तुत करे " - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/hr/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/hr/LC_MESSAGES/django.mo deleted file mode 100644 index fc80a59ac5..0000000000 Binary files a/django/contrib/formtools/locale/hr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/hr/LC_MESSAGES/django.po b/django/contrib/formtools/locale/hr/LC_MESSAGES/django.po deleted file mode 100644 index 8e59243d7e..0000000000 --- a/django/contrib/formtools/locale/hr/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# berislavlopac , 2012 -# Dimitris Glezos , 2012 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Croatian (http://www.transifex.com/projects/p/django/language/" -"hr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "prvi korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "prethodni korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "pošalji" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/hu/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/hu/LC_MESSAGES/django.mo deleted file mode 100644 index fa79d1abb5..0000000000 Binary files a/django/contrib/formtools/locale/hu/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/hu/LC_MESSAGES/django.po b/django/contrib/formtools/locale/hu/LC_MESSAGES/django.po deleted file mode 100644 index 7afbc51767..0000000000 --- a/django/contrib/formtools/locale/hu/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Attila Nagy <>, 2012 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Hungarian (http://www.transifex.com/projects/p/django/" -"language/hu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "első" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "előző" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "küldés" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ia/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ia/LC_MESSAGES/django.mo deleted file mode 100644 index 6e39077d81..0000000000 Binary files a/django/contrib/formtools/locale/ia/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ia/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ia/LC_MESSAGES/django.po deleted file mode 100644 index 6ef1d5ac54..0000000000 --- a/django/contrib/formtools/locale/ia/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Martijn Dekker , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Interlingua (http://www.transifex.com/projects/p/django/" -"language/ia/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ia\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "prime passo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "previe passo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "submitter" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/id/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/id/LC_MESSAGES/django.mo deleted file mode 100644 index 1e3b14bb52..0000000000 Binary files a/django/contrib/formtools/locale/id/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/id/LC_MESSAGES/django.po b/django/contrib/formtools/locale/id/LC_MESSAGES/django.po deleted file mode 100644 index 021a343574..0000000000 --- a/django/contrib/formtools/locale/id/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# rodin , 2011-2012 -# rodin , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Indonesian (http://www.transifex.com/projects/p/django/" -"language/id/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: id\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "langkah pertama" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "langkah pertama" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "langkah sebelumnya" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/io/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/io/LC_MESSAGES/django.mo deleted file mode 100644 index 2dc07bc965..0000000000 Binary files a/django/contrib/formtools/locale/io/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/io/LC_MESSAGES/django.po b/django/contrib/formtools/locale/io/LC_MESSAGES/django.po deleted file mode 100644 index 98230632a5..0000000000 --- a/django/contrib/formtools/locale/io/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Viko Bartero , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Ido (http://www.transifex.com/projects/p/django/language/" -"io/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: io\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "unesma pazo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "anta pazo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "sendar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/is/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/is/LC_MESSAGES/django.mo deleted file mode 100644 index f646b8e821..0000000000 Binary files a/django/contrib/formtools/locale/is/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/is/LC_MESSAGES/django.po b/django/contrib/formtools/locale/is/LC_MESSAGES/django.po deleted file mode 100644 index 3e7bf9f3f9..0000000000 --- a/django/contrib/formtools/locale/is/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Hafsteinn Einarsson , 2012 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Icelandic (http://www.transifex.com/projects/p/django/" -"language/is/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: is\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "fyrsta skref" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "fyrra skref" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "Senda" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/it/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index 6aea1469d7..0000000000 Binary files a/django/contrib/formtools/locale/it/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/it/LC_MESSAGES/django.po b/django/contrib/formtools/locale/it/LC_MESSAGES/django.po deleted file mode 100644 index e1936306de..0000000000 --- a/django/contrib/formtools/locale/it/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Flavio Curella , 2013 -# Jannis Leidel , 2011 -# Marco Bonetti, 2014 -# Nicola Larosa , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-06-30 11:41+0000\n" -"Last-Translator: Marco Bonetti\n" -"Language-Team: Italian (http://www.transifex.com/projects/p/django/language/" -"it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Form Tools" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primo passo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "passo precedente" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "invia" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "I dati del ManagementForm sono mancanti oppure sono stati manomessi." diff --git a/django/contrib/formtools/locale/ja/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ja/LC_MESSAGES/django.mo deleted file mode 100644 index 615f8fb9ee..0000000000 Binary files a/django/contrib/formtools/locale/ja/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ja/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ja/LC_MESSAGES/django.po deleted file mode 100644 index 109b065521..0000000000 --- a/django/contrib/formtools/locale/ja/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Shinya Okano , 2012-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-06-28 14:37+0000\n" -"Last-Translator: Shinya Okano \n" -"Language-Team: Japanese (http://www.transifex.com/projects/p/django/language/" -"ja/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ja\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "フォームツール" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "最初のステップ" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "前のステップ" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "送信" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementFormデータが見つからないか、改竄されています。" diff --git a/django/contrib/formtools/locale/ka/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ka/LC_MESSAGES/django.mo deleted file mode 100644 index 853023a452..0000000000 Binary files a/django/contrib/formtools/locale/ka/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ka/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ka/LC_MESSAGES/django.po deleted file mode 100644 index 4b5dbbab2a..0000000000 --- a/django/contrib/formtools/locale/ka/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# André Bouatchidzé , 2013 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Georgian (http://www.transifex.com/projects/p/django/language/" -"ka/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ka\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "პირველი ეტაპი" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "წინა ეტაპი" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "გაგზავნა" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/kk/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/kk/LC_MESSAGES/django.mo deleted file mode 100644 index caf6a96b98..0000000000 Binary files a/django/contrib/formtools/locale/kk/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/kk/LC_MESSAGES/django.po b/django/contrib/formtools/locale/kk/LC_MESSAGES/django.po deleted file mode 100644 index 83ad39e297..0000000000 --- a/django/contrib/formtools/locale/kk/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Kazakh (http://www.transifex.com/projects/p/django/language/" -"kk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: kk\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/km/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/km/LC_MESSAGES/django.mo deleted file mode 100644 index e8068b06b6..0000000000 Binary files a/django/contrib/formtools/locale/km/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/km/LC_MESSAGES/django.po b/django/contrib/formtools/locale/km/LC_MESSAGES/django.po deleted file mode 100644 index 23a0b13c9a..0000000000 --- a/django/contrib/formtools/locale/km/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Khmer (http://www.transifex.com/projects/p/django/language/" -"km/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: km\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/kn/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/kn/LC_MESSAGES/django.mo deleted file mode 100644 index c22e6d48c0..0000000000 Binary files a/django/contrib/formtools/locale/kn/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/kn/LC_MESSAGES/django.po b/django/contrib/formtools/locale/kn/LC_MESSAGES/django.po deleted file mode 100644 index 759352b2ce..0000000000 --- a/django/contrib/formtools/locale/kn/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Kannada (http://www.transifex.com/projects/p/django/language/" -"kn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: kn\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ko/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ko/LC_MESSAGES/django.mo deleted file mode 100644 index b6f8839f91..0000000000 Binary files a/django/contrib/formtools/locale/ko/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ko/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ko/LC_MESSAGES/django.po deleted file mode 100644 index 0e0d96bfa3..0000000000 --- a/django/contrib/formtools/locale/ko/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jeong Seongtae , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Korean (http://www.transifex.com/projects/p/django/language/" -"ko/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ko\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "첫번째 단계" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "이전 단계" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "제출" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/lb/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/lb/LC_MESSAGES/django.mo deleted file mode 100644 index 032ff849be..0000000000 Binary files a/django/contrib/formtools/locale/lb/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/lb/LC_MESSAGES/django.po b/django/contrib/formtools/locale/lb/LC_MESSAGES/django.po deleted file mode 100644 index f46675f2d6..0000000000 --- a/django/contrib/formtools/locale/lb/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Luxembourgish (http://www.transifex.com/projects/p/django/" -"language/lb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: lb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/lt/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/lt/LC_MESSAGES/django.mo deleted file mode 100644 index 68944d7665..0000000000 Binary files a/django/contrib/formtools/locale/lt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/lt/LC_MESSAGES/django.po b/django/contrib/formtools/locale/lt/LC_MESSAGES/django.po deleted file mode 100644 index f95ef4ec1c..0000000000 --- a/django/contrib/formtools/locale/lt/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# lauris , 2011 -# Simonas Kazlauskas , 2012-2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Lithuanian (http://www.transifex.com/projects/p/django/" -"language/lt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "pirmas žingsnis" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "praeitas žingsnis" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "pateikti" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/lv/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/lv/LC_MESSAGES/django.mo deleted file mode 100644 index 4496183048..0000000000 Binary files a/django/contrib/formtools/locale/lv/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/lv/LC_MESSAGES/django.po b/django/contrib/formtools/locale/lv/LC_MESSAGES/django.po deleted file mode 100644 index 29eea980f3..0000000000 --- a/django/contrib/formtools/locale/lv/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Latvian (http://www.transifex.com/projects/p/django/language/" -"lv/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: lv\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " -"2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/mk/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/mk/LC_MESSAGES/django.mo deleted file mode 100644 index 56b26f7682..0000000000 Binary files a/django/contrib/formtools/locale/mk/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/mk/LC_MESSAGES/django.po b/django/contrib/formtools/locale/mk/LC_MESSAGES/django.po deleted file mode 100644 index 7e70ad246c..0000000000 --- a/django/contrib/formtools/locale/mk/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# vvangelovski , 2013-2014 -# vvangelovski , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-14 21:34+0000\n" -"Last-Translator: vvangelovski \n" -"Language-Team: Macedonian (http://www.transifex.com/projects/p/django/" -"language/mk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: mk\n" -"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Алатки за форми" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "прв чекор" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "претходен чекор" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "готово" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Недостасуваат податоци од ManagementForm или некој ги менувал" diff --git a/django/contrib/formtools/locale/ml/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ml/LC_MESSAGES/django.mo deleted file mode 100644 index ab10c28d96..0000000000 Binary files a/django/contrib/formtools/locale/ml/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ml/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ml/LC_MESSAGES/django.po deleted file mode 100644 index caab2608ef..0000000000 --- a/django/contrib/formtools/locale/ml/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Rajeesh Nair , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Malayalam (http://www.transifex.com/projects/p/django/" -"language/ml/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ml\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "ആദ്യ ഘട്ടം" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "തൊട്ടു മുമ്പിലെ ഘട്ടം" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "സമര്‍പ്പിക്കൂ" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/mn/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/mn/LC_MESSAGES/django.mo deleted file mode 100644 index f19649a130..0000000000 Binary files a/django/contrib/formtools/locale/mn/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/mn/LC_MESSAGES/django.po b/django/contrib/formtools/locale/mn/LC_MESSAGES/django.po deleted file mode 100644 index 641df8a053..0000000000 --- a/django/contrib/formtools/locale/mn/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jacara , 2011 -# Zorig , 2013-2014 -# Анхбаяр Анхаа , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-10 10:42+0000\n" -"Last-Translator: Zorig \n" -"Language-Team: Mongolian (http://www.transifex.com/projects/p/django/" -"language/mn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: mn\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Форм хэрэгсэл" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "эхний алхам" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "өмнөх алхам" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "илгээх" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Удирдах Формын мэдээлэл алга болсон эсвэл хориглогдсон байна" diff --git a/django/contrib/formtools/locale/mr/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/mr/LC_MESSAGES/django.mo deleted file mode 100644 index b0fd28db8a..0000000000 Binary files a/django/contrib/formtools/locale/mr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/mr/LC_MESSAGES/django.po b/django/contrib/formtools/locale/mr/LC_MESSAGES/django.po deleted file mode 100644 index 74f897b607..0000000000 --- a/django/contrib/formtools/locale/mr/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Marathi (http://www.transifex.com/projects/p/django/language/" -"mr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: mr\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/my/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/my/LC_MESSAGES/django.mo deleted file mode 100644 index 2c0efb9f2c..0000000000 Binary files a/django/contrib/formtools/locale/my/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/my/LC_MESSAGES/django.po b/django/contrib/formtools/locale/my/LC_MESSAGES/django.po deleted file mode 100644 index 94d099b305..0000000000 --- a/django/contrib/formtools/locale/my/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Burmese (http://www.transifex.com/projects/p/django/language/" -"my/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: my\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/nb/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/nb/LC_MESSAGES/django.mo deleted file mode 100644 index d9466e44b9..0000000000 Binary files a/django/contrib/formtools/locale/nb/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/nb/LC_MESSAGES/django.po b/django/contrib/formtools/locale/nb/LC_MESSAGES/django.po deleted file mode 100644 index f01d592a96..0000000000 --- a/django/contrib/formtools/locale/nb/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# jensadne , 2014 -# Jon , 2013 -# Jon , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-07-03 14:31+0000\n" -"Last-Translator: jensadne \n" -"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/django/" -"language/nb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: nb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Skjema-verktøy" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "første steg" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "forrige steg" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "lagre" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm-data mangler eller har blitt endret." diff --git a/django/contrib/formtools/locale/ne/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ne/LC_MESSAGES/django.mo deleted file mode 100644 index 7a15bff921..0000000000 Binary files a/django/contrib/formtools/locale/ne/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ne/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ne/LC_MESSAGES/django.po deleted file mode 100644 index d972111511..0000000000 --- a/django/contrib/formtools/locale/ne/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Paras Nath Chaudhary , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Nepali (http://www.transifex.com/projects/p/django/language/" -"ne/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ne\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "प्रथम चाल " - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "अघिल्लो चाल " - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "जम्मा गर्नु " - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/nl/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/nl/LC_MESSAGES/django.mo deleted file mode 100644 index 5371ec7901..0000000000 Binary files a/django/contrib/formtools/locale/nl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/nl/LC_MESSAGES/django.po b/django/contrib/formtools/locale/nl/LC_MESSAGES/django.po deleted file mode 100644 index 049dfce2cf..0000000000 --- a/django/contrib/formtools/locale/nl/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Bouke Haarsma , 2013 -# Jannis Leidel , 2011 -# Jeffrey Gelens , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Dutch (http://www.transifex.com/projects/p/django/language/" -"nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "eerste stap" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "vorige stap" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "verzenden" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/nn/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/nn/LC_MESSAGES/django.mo deleted file mode 100644 index 27f3de7642..0000000000 Binary files a/django/contrib/formtools/locale/nn/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/nn/LC_MESSAGES/django.po b/django/contrib/formtools/locale/nn/LC_MESSAGES/django.po deleted file mode 100644 index 57acde449f..0000000000 --- a/django/contrib/formtools/locale/nn/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# velmont , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Norwegian Nynorsk (http://www.transifex.com/projects/p/django/" -"language/nn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: nn\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "fyrste steg" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "førre steg" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "lagre" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/os/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/os/LC_MESSAGES/django.mo deleted file mode 100644 index c6d57bdb2e..0000000000 Binary files a/django/contrib/formtools/locale/os/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/os/LC_MESSAGES/django.po b/django/contrib/formtools/locale/os/LC_MESSAGES/django.po deleted file mode 100644 index a5b7e470a1..0000000000 --- a/django/contrib/formtools/locale/os/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Xwybylty Soslan , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Ossetic (http://www.transifex.com/projects/p/django/language/" -"os/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: os\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "фыццаг къахцӕф" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "ай размӕ къахцӕф" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "арвитын" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/pa/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/pa/LC_MESSAGES/django.mo deleted file mode 100644 index 088d8c7644..0000000000 Binary files a/django/contrib/formtools/locale/pa/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/pa/LC_MESSAGES/django.po b/django/contrib/formtools/locale/pa/LC_MESSAGES/django.po deleted file mode 100644 index 73417ee57c..0000000000 --- a/django/contrib/formtools/locale/pa/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# A S Alam , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Panjabi (Punjabi) (http://www.transifex.com/projects/p/django/" -"language/pa/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pa\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "ਪਹਿਲਾਂ ਪਗ" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "ਪਿਛਲਾ ਪਗ਼" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "ਭੇਜੋ" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/pl/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/pl/LC_MESSAGES/django.mo deleted file mode 100644 index b1ad442e33..0000000000 Binary files a/django/contrib/formtools/locale/pl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/pl/LC_MESSAGES/django.po b/django/contrib/formtools/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index 12bfb22eb3..0000000000 --- a/django/contrib/formtools/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# angularcircle, 2012 -# Jannis Leidel , 2011 -# Janusz Harkot , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-07-31 21:03+0000\n" -"Last-Translator: Janusz Harkot \n" -"Language-Team: Polish (http://www.transifex.com/projects/p/django/language/" -"pl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pl\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Narzędzia fomularzy" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "Pierwszy krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "Poprzedni krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "Wyślij" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Brakuje danych ManagementForm lub zostały one zmodyfikowane." diff --git a/django/contrib/formtools/locale/pt/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index 8836fc6fe0..0000000000 Binary files a/django/contrib/formtools/locale/pt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/pt/LC_MESSAGES/django.po b/django/contrib/formtools/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 7ec5fa2d20..0000000000 --- a/django/contrib/formtools/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Nuno Mariz , 2012-2013 -# Raúl Pedro Fernandes Santos, 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-04 09:01+0000\n" -"Last-Translator: Nuno Mariz \n" -"Language-Team: Portuguese (http://www.transifex.com/projects/p/django/" -"language/pt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pt\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Ferramentas de Formulários" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primeiro passo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "passo anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "submeter" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Os dados do ManagementForm estão em falta ou foram adulterados." diff --git a/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.mo deleted file mode 100644 index e15beb9364..0000000000 Binary files a/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.po b/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index 1fcfd722b7..0000000000 --- a/django/contrib/formtools/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Allisson Azevedo , 2014 -# Elyézer Rezende , 2013 -# Guilherme Gondim , 2012 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-06-27 14:29+0000\n" -"Last-Translator: Allisson Azevedo \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" -"django/language/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Ferramentas de Formulário" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primeiro passo" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "passo anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "enviar" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Os dados do ManagementForm não foram encontrados ou foram adulterados." diff --git a/django/contrib/formtools/locale/ro/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ro/LC_MESSAGES/django.mo deleted file mode 100644 index d875badad7..0000000000 Binary files a/django/contrib/formtools/locale/ro/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ro/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ro/LC_MESSAGES/django.po deleted file mode 100644 index a63b6c3859..0000000000 --- a/django/contrib/formtools/locale/ro/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# mihneasim , 2013 -# Denis Darii , 2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Romanian (http://www.transifex.com/projects/p/django/language/" -"ro/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" -"2:1));\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "primul pas" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "pasul anterior" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "confirmă" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/ru/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index 642580b26b..0000000000 Binary files a/django/contrib/formtools/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ru/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 3c1c196880..0000000000 --- a/django/contrib/formtools/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Eugene MechanisM , 2012 -# Jannis Leidel , 2011 -# Алексей Борискин , 2013-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-06-15 21:03+0000\n" -"Last-Translator: Алексей Борискин \n" -"Language-Team: Russian (http://www.transifex.com/projects/p/django/language/" -"ru/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ru\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Инструменты форм" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "первый шаг" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "предыдущий шаг" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "отправить" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Данные ManagementForm отсутствуют или были искажены." diff --git a/django/contrib/formtools/locale/sk/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sk/LC_MESSAGES/django.mo deleted file mode 100644 index f570494588..0000000000 Binary files a/django/contrib/formtools/locale/sk/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sk/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sk/LC_MESSAGES/django.po deleted file mode 100644 index 858f49c82a..0000000000 --- a/django/contrib/formtools/locale/sk/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Juraj Bubniak , 2013 -# Marian Andre , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Slovak (http://www.transifex.com/projects/p/django/language/" -"sk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sk\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "prvý krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "predchádzajúci krok" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "odoslať" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sl/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sl/LC_MESSAGES/django.mo deleted file mode 100644 index 65b5fac7c4..0000000000 Binary files a/django/contrib/formtools/locale/sl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sl/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sl/LC_MESSAGES/django.po deleted file mode 100644 index 00df68d3a2..0000000000 --- a/django/contrib/formtools/locale/sl/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# zejn , 2013 -# zejn , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Slovenian (http://www.transifex.com/projects/p/django/" -"language/sl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "prvi korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "predhodni korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "pošlji" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sq/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sq/LC_MESSAGES/django.mo deleted file mode 100644 index cb8406e08f..0000000000 Binary files a/django/contrib/formtools/locale/sq/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sq/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sq/LC_MESSAGES/django.po deleted file mode 100644 index 7cfbf346bb..0000000000 --- a/django/contrib/formtools/locale/sq/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Besnik , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Albanian (http://www.transifex.com/projects/p/django/language/" -"sq/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sq\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "hapi i parë" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "hapi i mëparshëm" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "parashtroje" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sr/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sr/LC_MESSAGES/django.mo deleted file mode 100644 index c0afc2c135..0000000000 Binary files a/django/contrib/formtools/locale/sr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sr/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sr/LC_MESSAGES/django.po deleted file mode 100644 index d82d7674cc..0000000000 --- a/django/contrib/formtools/locale/sr/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Janos Guljas , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Serbian (http://www.transifex.com/projects/p/django/language/" -"sr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sr\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "први корак" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "претходни корак" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "постави" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.mo deleted file mode 100644 index 792769c9c7..0000000000 Binary files a/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.po deleted file mode 100644 index 0b74e43128..0000000000 --- a/django/contrib/formtools/locale/sr_Latn/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Janos Guljas , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/django/" -"language/sr@latin/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sr@latin\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "prvi korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "prethodni korak" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "postavi" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sv/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sv/LC_MESSAGES/django.mo deleted file mode 100644 index 5cb29e3639..0000000000 Binary files a/django/contrib/formtools/locale/sv/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sv/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sv/LC_MESSAGES/django.po deleted file mode 100644 index e80e981d29..0000000000 --- a/django/contrib/formtools/locale/sv/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Andreas Pelme , 2012 -# Jannis Leidel , 2011 -# Thomas Lundqvist , 2013 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Swedish (http://www.transifex.com/projects/p/django/language/" -"sv/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sv\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "första steget" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "föregående steg" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "spara" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/sw/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/sw/LC_MESSAGES/django.mo deleted file mode 100644 index 7159650f1d..0000000000 Binary files a/django/contrib/formtools/locale/sw/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/sw/LC_MESSAGES/django.po b/django/contrib/formtools/locale/sw/LC_MESSAGES/django.po deleted file mode 100644 index 611329f681..0000000000 --- a/django/contrib/formtools/locale/sw/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# machaku , 2013-2014 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-08-22 16:56+0000\n" -"Last-Translator: machaku \n" -"Language-Team: Swahili (http://www.transifex.com/projects/p/django/language/" -"sw/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sw\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Zana za fomu" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "hatua ya kwanza" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "hatua iliyopita" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "wasilisha" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Data za 'ManagementForm' zimekosekana au zimechakachuliwa. " diff --git a/django/contrib/formtools/locale/ta/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ta/LC_MESSAGES/django.mo deleted file mode 100644 index f8681241b6..0000000000 Binary files a/django/contrib/formtools/locale/ta/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ta/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ta/LC_MESSAGES/django.po deleted file mode 100644 index f66482e448..0000000000 --- a/django/contrib/formtools/locale/ta/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Tamil (http://www.transifex.com/projects/p/django/language/" -"ta/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ta\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/te/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/te/LC_MESSAGES/django.mo deleted file mode 100644 index cb493893c9..0000000000 Binary files a/django/contrib/formtools/locale/te/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/te/LC_MESSAGES/django.po b/django/contrib/formtools/locale/te/LC_MESSAGES/django.po deleted file mode 100644 index 8c6385fb22..0000000000 --- a/django/contrib/formtools/locale/te/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Telugu (http://www.transifex.com/projects/p/django/language/" -"te/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: te\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/th/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/th/LC_MESSAGES/django.mo deleted file mode 100644 index bf4bffe93f..0000000000 Binary files a/django/contrib/formtools/locale/th/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/th/LC_MESSAGES/django.po b/django/contrib/formtools/locale/th/LC_MESSAGES/django.po deleted file mode 100644 index e82b35b0b9..0000000000 --- a/django/contrib/formtools/locale/th/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Vichai Vongvorakul , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Thai (http://www.transifex.com/projects/p/django/language/" -"th/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: th\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "ขั้นตอนแรก" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "ขั้นตอนก่อนหน้านี้" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "ดำเนินการส่ง" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/tr/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/tr/LC_MESSAGES/django.mo deleted file mode 100644 index c0a7ed4ce8..0000000000 Binary files a/django/contrib/formtools/locale/tr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/tr/LC_MESSAGES/django.po b/django/contrib/formtools/locale/tr/LC_MESSAGES/django.po deleted file mode 100644 index 1e29e75feb..0000000000 --- a/django/contrib/formtools/locale/tr/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Burak Yavuz, 2014 -# Cihad GÜNDOĞDU , 2013-2014 -# Jannis Leidel , 2011 -# Murat Çorlu , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-09-06 13:24+0000\n" -"Last-Translator: Burak Yavuz\n" -"Language-Team: Turkish (http://www.transifex.com/projects/p/django/language/" -"tr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: tr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Form Araçları" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "ilk adım" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "önceki adım" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "gönder" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "ManagementForm verisi eksik ya da kurcalanmış." diff --git a/django/contrib/formtools/locale/tt/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/tt/LC_MESSAGES/django.mo deleted file mode 100644 index 98890071ce..0000000000 Binary files a/django/contrib/formtools/locale/tt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/tt/LC_MESSAGES/django.po b/django/contrib/formtools/locale/tt/LC_MESSAGES/django.po deleted file mode 100644 index 702bf81bc5..0000000000 --- a/django/contrib/formtools/locale/tt/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Tatar (http://www.transifex.com/projects/p/django/language/" -"tt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: tt\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/udm/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/udm/LC_MESSAGES/django.mo deleted file mode 100644 index ee8b4d4de0..0000000000 Binary files a/django/contrib/formtools/locale/udm/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/udm/LC_MESSAGES/django.po b/django/contrib/formtools/locale/udm/LC_MESSAGES/django.po deleted file mode 100644 index a3bc736d2f..0000000000 --- a/django/contrib/formtools/locale/udm/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Udmurt (http://www.transifex.com/projects/p/django/language/" -"udm/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: udm\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/uk/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/uk/LC_MESSAGES/django.mo deleted file mode 100644 index 3ff62e1c69..0000000000 Binary files a/django/contrib/formtools/locale/uk/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/uk/LC_MESSAGES/django.po b/django/contrib/formtools/locale/uk/LC_MESSAGES/django.po deleted file mode 100644 index 0f4ce704d4..0000000000 --- a/django/contrib/formtools/locale/uk/LC_MESSAGES/django.po +++ /dev/null @@ -1,41 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# Max V. Stotsky , 2014 -# Sergey Lysach , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-09-24 18:34+0000\n" -"Last-Translator: Max V. Stotsky \n" -"Language-Team: Ukrainian (http://www.transifex.com/projects/p/django/" -"language/uk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: uk\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "Інструменти форми." - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "перший крок" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "попередній крок" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "відправити" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "Дані ManagementForm відсутні або були спотворені." diff --git a/django/contrib/formtools/locale/ur/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/ur/LC_MESSAGES/django.mo deleted file mode 100644 index 80d0afe9ee..0000000000 Binary files a/django/contrib/formtools/locale/ur/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/ur/LC_MESSAGES/django.po b/django/contrib/formtools/locale/ur/LC_MESSAGES/django.po deleted file mode 100644 index d7ce4af5f9..0000000000 --- a/django/contrib/formtools/locale/ur/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Urdu (http://www.transifex.com/projects/p/django/language/" -"ur/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ur\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/vi/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/vi/LC_MESSAGES/django.mo deleted file mode 100644 index 7845a4e296..0000000000 Binary files a/django/contrib/formtools/locale/vi/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/vi/LC_MESSAGES/django.po b/django/contrib/formtools/locale/vi/LC_MESSAGES/django.po deleted file mode 100644 index f4a1b1f921..0000000000 --- a/django/contrib/formtools/locale/vi/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Vietnamese (http://www.transifex.com/projects/p/django/" -"language/vi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: vi\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index 1c93573185..0000000000 Binary files a/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.po b/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.po deleted file mode 100644 index b228096a53..0000000000 --- a/django/contrib/formtools/locale/zh_CN/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011. -# Ziang Song , 2012. -msgid "" -msgstr "" -"Project-Id-Version: Django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-15 10:56+0200\n" -"PO-Revision-Date: 2012-03-08 18:56+0000\n" -"Last-Translator: Ziang Song \n" -"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/django/" -"language/zh_CN/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "第一步" - -#: templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "上一步" - -#: templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "提交" - -#: wizard/legacy.py:159 -msgid "" -"We apologize, but your form has expired. Please continue filling out the " -"form from this page." -msgstr "很抱歉,但是你的表单已过期。请继续填写本页中表单的其余部分。" diff --git a/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.mo deleted file mode 100644 index 914609c795..0000000000 Binary files a/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.po b/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.po deleted file mode 100644 index fe4ca5bf9e..0000000000 --- a/django/contrib/formtools/locale/zh_Hans/LC_MESSAGES/django.po +++ /dev/null @@ -1,40 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# Jannis Leidel , 2011 -# ouyanghongyu , 2014 -# Ziang Song , 2012 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-09-04 10:32+0000\n" -"Last-Translator: ouyanghongyu \n" -"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/django/" -"language/zh_CN/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "表单工具" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "第一步" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "上一步" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "提交" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.mo deleted file mode 100644 index 1fbba918bc..0000000000 Binary files a/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.po b/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.po deleted file mode 100644 index c554606289..0000000000 --- a/django/contrib/formtools/locale/zh_Hant/LC_MESSAGES/django.po +++ /dev/null @@ -1,39 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# ilay , 2012 -# Jannis Leidel , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-19 15:12+0200\n" -"PO-Revision-Date: 2014-05-20 09:43+0000\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/django/" -"language/zh_TW/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_TW\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: contrib/formtools/apps.py:8 -msgid "Form Tools" -msgstr "" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "第一步" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "下一步" - -#: contrib/formtools/templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "送出" - -#: contrib/formtools/wizard/views.py:276 -msgid "ManagementForm data is missing or has been tampered." -msgstr "" diff --git a/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.mo b/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.mo deleted file mode 100644 index 3ebc5c0ab8..0000000000 Binary files a/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.po b/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.po deleted file mode 100644 index c4ee8b9485..0000000000 --- a/django/contrib/formtools/locale/zh_TW/LC_MESSAGES/django.po +++ /dev/null @@ -1,37 +0,0 @@ -# This file is distributed under the same license as the Django package. -# -# Translators: -# , 2012. -# Jannis Leidel , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Django\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-15 10:56+0200\n" -"PO-Revision-Date: 2012-08-06 01:25+0000\n" -"Last-Translator: ilay \n" -"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/django/" -"language/zh_TW/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_TW\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: templates/formtools/wizard/wizard_form.html:15 -msgid "first step" -msgstr "第一步" - -#: templates/formtools/wizard/wizard_form.html:16 -msgid "prev step" -msgstr "下一步" - -#: templates/formtools/wizard/wizard_form.html:18 -msgid "submit" -msgstr "送出" - -#: wizard/legacy.py:159 -msgid "" -"We apologize, but your form has expired. Please continue filling out the " -"form from this page." -msgstr "很抱歉,但你的表單已過期。請繼續填寫本頁的表單。" diff --git a/django/contrib/formtools/models.py b/django/contrib/formtools/models.py deleted file mode 100644 index 8a90059b9d..0000000000 --- a/django/contrib/formtools/models.py +++ /dev/null @@ -1,2 +0,0 @@ -# This file is required to pretend formtools has models. -# Otherwise test models cannot be registered. diff --git a/django/contrib/formtools/preview.py b/django/contrib/formtools/preview.py deleted file mode 100644 index 02e6f27547..0000000000 --- a/django/contrib/formtools/preview.py +++ /dev/null @@ -1,148 +0,0 @@ -""" -Formtools Preview application. -""" - -from django.http import Http404 -from django.shortcuts import render_to_response -from django.template.context import RequestContext -from django.utils.crypto import constant_time_compare -from django.contrib.formtools.utils import form_hmac - -AUTO_ID = 'formtools_%s' # Each form here uses this as its auto_id parameter. - - -class FormPreview(object): - preview_template = 'formtools/preview.html' - form_template = 'formtools/form.html' - - # METHODS SUBCLASSES SHOULDN'T OVERRIDE ################################### - - def __init__(self, form): - # form should be a Form class, not an instance. - self.form, self.state = form, {} - - def __call__(self, request, *args, **kwargs): - stage = {'1': 'preview', '2': 'post'}.get(request.POST.get(self.unused_name('stage')), 'preview') - self.parse_params(*args, **kwargs) - try: - method = getattr(self, stage + '_' + request.method.lower()) - except AttributeError: - raise Http404 - return method(request) - - def unused_name(self, name): - """ - Given a first-choice name, adds an underscore to the name until it - reaches a name that isn't claimed by any field in the form. - - This is calculated rather than being hard-coded so that no field names - are off-limits for use in the form. - """ - while 1: - try: - self.form.base_fields[name] - except KeyError: - break # This field name isn't being used by the form. - name += '_' - return name - - def preview_get(self, request): - "Displays the form" - f = self.form(auto_id=self.get_auto_id(), initial=self.get_initial(request)) - return render_to_response(self.form_template, - self.get_context(request, f), - context_instance=RequestContext(request)) - - def preview_post(self, request): - "Validates the POST data. If valid, displays the preview page. Else, redisplays form." - f = self.form(request.POST, auto_id=self.get_auto_id()) - context = self.get_context(request, f) - if f.is_valid(): - self.process_preview(request, f, context) - context['hash_field'] = self.unused_name('hash') - context['hash_value'] = self.security_hash(request, f) - return render_to_response(self.preview_template, context, context_instance=RequestContext(request)) - else: - return render_to_response(self.form_template, context, context_instance=RequestContext(request)) - - def _check_security_hash(self, token, request, form): - expected = self.security_hash(request, form) - return constant_time_compare(token, expected) - - def post_post(self, request): - "Validates the POST data. If valid, calls done(). Else, redisplays form." - f = self.form(request.POST, auto_id=self.get_auto_id()) - if f.is_valid(): - if not self._check_security_hash(request.POST.get(self.unused_name('hash'), ''), - request, f): - return self.failed_hash(request) # Security hash failed. - return self.done(request, f.cleaned_data) - else: - return render_to_response(self.form_template, - self.get_context(request, f), - context_instance=RequestContext(request)) - - # METHODS SUBCLASSES MIGHT OVERRIDE IF APPROPRIATE ######################## - - def get_auto_id(self): - """ - Hook to override the ``auto_id`` kwarg for the form. Needed when - rendering two form previews in the same template. - """ - return AUTO_ID - - def get_initial(self, request): - """ - Takes a request argument and returns a dictionary to pass to the form's - ``initial`` kwarg when the form is being created from an HTTP get. - """ - return {} - - def get_context(self, request, form): - "Context for template rendering." - return {'form': form, 'stage_field': self.unused_name('stage'), 'state': self.state} - - def parse_params(self, *args, **kwargs): - """ - Given captured args and kwargs from the URLconf, saves something in - self.state and/or raises Http404 if necessary. - - For example, this URLconf captures a user_id variable: - - (r'^contact/(?P\d{1,6})/$', MyFormPreview(MyForm)), - - In this case, the kwargs variable in parse_params would be - {'user_id': 32} for a request to '/contact/32/'. You can use that - user_id to make sure it's a valid user and/or save it for later, for - use in done(). - """ - pass - - def process_preview(self, request, form, context): - """ - Given a validated form, performs any extra processing before displaying - the preview page, and saves any extra data in context. - """ - pass - - def security_hash(self, request, form): - """ - Calculates the security hash for the given HttpRequest and Form instances. - - Subclasses may want to take into account request-specific information, - such as the IP address. - """ - return form_hmac(form) - - def failed_hash(self, request): - "Returns an HttpResponse in the case of an invalid security hash." - return self.preview_post(request) - - # METHODS SUBCLASSES MUST OVERRIDE ######################################## - - def done(self, request, cleaned_data): - """ - Does something with the cleaned_data and returns an - HttpResponseRedirect. - """ - raise NotImplementedError('You must define a done() method on your %s subclass.' % self.__class__.__name__) diff --git a/django/contrib/formtools/templates/formtools/form.html b/django/contrib/formtools/templates/formtools/form.html deleted file mode 100644 index 2f2de1f637..0000000000 --- a/django/contrib/formtools/templates/formtools/form.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - -{% if form.errors %}

Please correct the following errors

{% else %}

Submit

{% endif %} - -
{% csrf_token %} - -{{ form }} -
- -

-
- -{% endblock %} diff --git a/django/contrib/formtools/templates/formtools/preview.html b/django/contrib/formtools/templates/formtools/preview.html deleted file mode 100644 index eb88b1ec2e..0000000000 --- a/django/contrib/formtools/templates/formtools/preview.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - -

Preview your submission

- - -{% for field in form %} - - - - -{% endfor %} -
{{ field.label }}:{{ field.data }}
- -

Security hash: {{ hash_value }}

- -
{% csrf_token %} -{% for field in form %}{{ field.as_hidden }} -{% endfor %} - - -

-
- -

Or edit it again

- -
{% csrf_token %} - -{{ form }} -
- -

-
- -{% endblock %} diff --git a/django/contrib/formtools/templates/formtools/wizard/wizard_form.html b/django/contrib/formtools/templates/formtools/wizard/wizard_form.html deleted file mode 100644 index 95bc576618..0000000000 --- a/django/contrib/formtools/templates/formtools/wizard/wizard_form.html +++ /dev/null @@ -1,18 +0,0 @@ -{% load i18n %} -{% csrf_token %} -{{ wizard.form.media }} -{{ wizard.management_form }} -{% if wizard.form.forms %} - {{ wizard.form.management_form }} - {% for form in wizard.form.forms %} - {{ form.as_p }} - {% endfor %} -{% else %} - {{ wizard.form.as_p }} -{% endif %} - -{% if wizard.steps.prev %} - - -{% endif %} - diff --git a/django/contrib/formtools/tests/__init__.py b/django/contrib/formtools/tests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/formtools/tests/forms.py b/django/contrib/formtools/tests/forms.py deleted file mode 100644 index 354297870a..0000000000 --- a/django/contrib/formtools/tests/forms.py +++ /dev/null @@ -1,18 +0,0 @@ -from django import forms - - -class TestForm(forms.Form): - field1 = forms.CharField() - field1_ = forms.CharField() - bool1 = forms.BooleanField(required=False) - date1 = forms.DateField(required=False) - - -class HashTestForm(forms.Form): - name = forms.CharField() - bio = forms.CharField() - - -class HashTestBlankForm(forms.Form): - name = forms.CharField(required=False) - bio = forms.CharField(required=False) diff --git a/django/contrib/formtools/tests/models.py b/django/contrib/formtools/tests/models.py deleted file mode 100644 index bbd540f2dd..0000000000 --- a/django/contrib/formtools/tests/models.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 -from django.db import models -from django.utils.encoding import python_2_unicode_compatible - - -@python_2_unicode_compatible -class Poet(models.Model): - name = models.CharField(max_length=100) - - class Meta: - app_label = 'formtools' - - def __str__(self): - return self.name - - -@python_2_unicode_compatible -class Poem(models.Model): - poet = models.ForeignKey(Poet) - name = models.CharField(max_length=100) - - class Meta: - app_label = 'formtools' - - def __str__(self): - return self.name diff --git a/django/contrib/formtools/tests/templates/404.html b/django/contrib/formtools/tests/templates/404.html deleted file mode 100644 index 4aa12038b5..0000000000 --- a/django/contrib/formtools/tests/templates/404.html +++ /dev/null @@ -1 +0,0 @@ -Not found. diff --git a/django/contrib/formtools/tests/templates/base.html b/django/contrib/formtools/tests/templates/base.html deleted file mode 100644 index 4275f80503..0000000000 --- a/django/contrib/formtools/tests/templates/base.html +++ /dev/null @@ -1,2 +0,0 @@ -{% block content %} -{% endblock %} diff --git a/django/contrib/formtools/tests/templates/forms/wizard.html b/django/contrib/formtools/tests/templates/forms/wizard.html deleted file mode 100644 index c911c3cbf8..0000000000 --- a/django/contrib/formtools/tests/templates/forms/wizard.html +++ /dev/null @@ -1,13 +0,0 @@ - - -

Step {{ step }} of {{ step_count }}

-
- - {{ form }} -
- - {{ previous_fields|safe }} - -
- - diff --git a/django/contrib/formtools/tests/tests.py b/django/contrib/formtools/tests/tests.py deleted file mode 100644 index eb8043e64e..0000000000 --- a/django/contrib/formtools/tests/tests.py +++ /dev/null @@ -1,185 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -import datetime -import os -import unittest -import warnings - -from django import http -from django.contrib.formtools import preview, utils -from django.test import TestCase, override_settings -from django.utils._os import upath - -from django.contrib.formtools.tests.forms import ( - HashTestBlankForm, HashTestForm, TestForm, -) - -success_string = "Done was called!" -success_string_encoded = success_string.encode() - - -class TestFormPreview(preview.FormPreview): - def get_context(self, request, form): - context = super(TestFormPreview, self).get_context(request, form) - context.update({'custom_context': True}) - return context - - def get_initial(self, request): - return {'field1': 'Works!'} - - def done(self, request, cleaned_data): - return http.HttpResponse(success_string) - - -@override_settings( - TEMPLATE_DIRS=( - os.path.join(os.path.dirname(upath(__file__)), 'templates'), - ), - ROOT_URLCONF='django.contrib.formtools.tests.urls', -) -class PreviewTests(TestCase): - - def setUp(self): - super(PreviewTests, self).setUp() - # Create a FormPreview instance to share between tests - self.preview = preview.FormPreview(TestForm) - input_template = '' - self.input = input_template % (self.preview.unused_name('stage'), "%d") - self.test_data = {'field1': 'foo', 'field1_': 'asdf'} - - def test_unused_name(self): - """ - Verifies name mangling to get uniue field name. - """ - self.assertEqual(self.preview.unused_name('field1'), 'field1__') - - def test_form_get(self): - """ - Test contrib.formtools.preview form retrieval. - - Use the client library to see if we can successfully retrieve - the form (mostly testing the setup ROOT_URLCONF - process). Verify that an additional hidden input field - is created to manage the stage. - - """ - response = self.client.get('/preview/') - stage = self.input % 1 - self.assertContains(response, stage, 1) - self.assertEqual(response.context['custom_context'], True) - self.assertEqual(response.context['form'].initial, {'field1': 'Works!'}) - - def test_form_preview(self): - """ - Test contrib.formtools.preview form preview rendering. - - Use the client library to POST to the form to see if a preview - is returned. If we do get a form back check that the hidden - value is correctly managing the state of the form. - - """ - # Pass strings for form submittal and add stage variable to - # show we previously saw first stage of the form. - self.test_data.update({'stage': 1, 'date1': datetime.date(2006, 10, 25)}) - response = self.client.post('/preview/', self.test_data) - # Check to confirm stage is set to 2 in output form. - stage = self.input % 2 - self.assertContains(response, stage, 1) - - def test_form_submit(self): - """ - Test contrib.formtools.preview form submittal. - - Use the client library to POST to the form with stage set to 3 - to see if our forms done() method is called. Check first - without the security hash, verify failure, retry with security - hash and verify success. - - """ - # Pass strings for form submittal and add stage variable to - # show we previously saw first stage of the form. - self.test_data.update({'stage': 2, 'date1': datetime.date(2006, 10, 25)}) - response = self.client.post('/preview/', self.test_data) - self.assertNotEqual(response.content, success_string_encoded) - hash = self.preview.security_hash(None, TestForm(self.test_data)) - self.test_data.update({'hash': hash}) - response = self.client.post('/preview/', self.test_data) - self.assertEqual(response.content, success_string_encoded) - - def test_bool_submit(self): - """ - Test contrib.formtools.preview form submittal when form contains: - BooleanField(required=False) - - Ticket: #6209 - When an unchecked BooleanField is previewed, the preview - form's hash would be computed with no value for ``bool1``. However, when - the preview form is rendered, the unchecked hidden BooleanField would be - rendered with the string value 'False'. So when the preview form is - resubmitted, the hash would be computed with the value 'False' for - ``bool1``. We need to make sure the hashes are the same in both cases. - - """ - self.test_data.update({'stage': 2}) - hash = self.preview.security_hash(None, TestForm(self.test_data)) - self.test_data.update({'hash': hash, 'bool1': 'False'}) - with warnings.catch_warnings(record=True): - response = self.client.post('/preview/', self.test_data) - self.assertEqual(response.content, success_string_encoded) - - def test_form_submit_good_hash(self): - """ - Test contrib.formtools.preview form submittal, using a correct - hash - """ - # Pass strings for form submittal and add stage variable to - # show we previously saw first stage of the form. - self.test_data.update({'stage': 2}) - response = self.client.post('/preview/', self.test_data) - self.assertNotEqual(response.content, success_string_encoded) - hash = utils.form_hmac(TestForm(self.test_data)) - self.test_data.update({'hash': hash}) - response = self.client.post('/preview/', self.test_data) - self.assertEqual(response.content, success_string_encoded) - - def test_form_submit_bad_hash(self): - """ - Test contrib.formtools.preview form submittal does not proceed - if the hash is incorrect. - """ - # Pass strings for form submittal and add stage variable to - # show we previously saw first stage of the form. - self.test_data.update({'stage': 2}) - response = self.client.post('/preview/', self.test_data) - self.assertEqual(response.status_code, 200) - self.assertNotEqual(response.content, success_string_encoded) - hash = utils.form_hmac(TestForm(self.test_data)) + "bad" - self.test_data.update({'hash': hash}) - response = self.client.post('/previewpreview/', self.test_data) - self.assertNotEqual(response.content, success_string_encoded) - - -class FormHmacTests(unittest.TestCase): - - def test_textfield_hash(self): - """ - Regression test for #10034: the hash generation function should ignore - leading/trailing whitespace so as to be friendly to broken browsers that - submit it (usually in textareas). - """ - f1 = HashTestForm({'name': 'joe', 'bio': 'Speaking español.'}) - f2 = HashTestForm({'name': ' joe', 'bio': 'Speaking español. '}) - hash1 = utils.form_hmac(f1) - hash2 = utils.form_hmac(f2) - self.assertEqual(hash1, hash2) - - def test_empty_permitted(self): - """ - Regression test for #10643: the security hash should allow forms with - empty_permitted = True, or forms where data has not changed. - """ - f1 = HashTestBlankForm({}) - f2 = HashTestForm({}, empty_permitted=True) - hash1 = utils.form_hmac(f1) - hash2 = utils.form_hmac(f2) - self.assertEqual(hash1, hash2) diff --git a/django/contrib/formtools/tests/urls.py b/django/contrib/formtools/tests/urls.py deleted file mode 100644 index 2811ce4003..0000000000 --- a/django/contrib/formtools/tests/urls.py +++ /dev/null @@ -1,13 +0,0 @@ -""" -This is a URLconf to be loaded by tests.py. Add any URLs needed for tests only. -""" - -from django.conf.urls import url -from django.contrib.formtools.tests.tests import TestFormPreview - -from django.contrib.formtools.tests.forms import TestForm - - -urlpatterns = [ - url(r'^preview/', TestFormPreview(TestForm)), -] diff --git a/django/contrib/formtools/tests/wizard/__init__.py b/django/contrib/formtools/tests/wizard/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/formtools/tests/wizard/namedwizardtests/__init__.py b/django/contrib/formtools/tests/wizard/namedwizardtests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/formtools/tests/wizard/namedwizardtests/forms.py b/django/contrib/formtools/tests/wizard/namedwizardtests/forms.py deleted file mode 100644 index 6e38a8a739..0000000000 --- a/django/contrib/formtools/tests/wizard/namedwizardtests/forms.py +++ /dev/null @@ -1,58 +0,0 @@ -import os -import tempfile - -from django import forms -from django.core.files.storage import FileSystemStorage -from django.forms.formsets import formset_factory -from django.http import HttpResponse -from django.template import Template, Context - -from django.contrib.auth.models import User - -from django.contrib.formtools.wizard.views import NamedUrlWizardView - -temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR')) -temp_storage = FileSystemStorage(location=temp_storage_location) - - -class Page1(forms.Form): - name = forms.CharField(max_length=100) - user = forms.ModelChoiceField(queryset=User.objects.all()) - thirsty = forms.NullBooleanField() - - -class Page2(forms.Form): - address1 = forms.CharField(max_length=100) - address2 = forms.CharField(max_length=100) - file1 = forms.FileField() - - -class Page3(forms.Form): - random_crap = forms.CharField(max_length=100) - -Page4 = formset_factory(Page3, extra=2) - - -class ContactWizard(NamedUrlWizardView): - file_storage = temp_storage - - def done(self, form_list, **kwargs): - c = Context({ - 'form_list': [x.cleaned_data for x in form_list], - 'form_dict': kwargs.get('form_dict'), - 'all_cleaned_data': self.get_all_cleaned_data() - }) - - for form in self.form_list.keys(): - c[form] = self.get_cleaned_data_for_step(form) - - c['this_will_fail'] = self.get_cleaned_data_for_step('this_will_fail') - return HttpResponse(Template('').render(c)) - - -class SessionContactWizard(ContactWizard): - storage_name = 'django.contrib.formtools.wizard.storage.session.SessionStorage' - - -class CookieContactWizard(ContactWizard): - storage_name = 'django.contrib.formtools.wizard.storage.cookie.CookieStorage' diff --git a/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py b/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py deleted file mode 100644 index 6a033612ce..0000000000 --- a/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py +++ /dev/null @@ -1,415 +0,0 @@ -from __future__ import unicode_literals - -import copy - -from django.core.urlresolvers import reverse -from django.http import QueryDict -from django.test import TestCase, override_settings -from django.utils._os import upath - -from django.contrib.auth.models import User -from django.contrib.auth.tests.utils import skipIfCustomUser - -from django.contrib.formtools.wizard.views import (NamedUrlSessionWizardView, - NamedUrlCookieWizardView) -from django.contrib.formtools.tests.wizard.test_forms import get_request, Step1, Step2 - -from .forms import temp_storage - - -# On Python 2, __file__ may end with .pyc -THIS_FILE = upath(__file__).rstrip("c") -UPLOADED_FILE_NAME = 'tests.py' - - -class NamedWizardTests(object): - - def setUp(self): - self.testuser, created = User.objects.get_or_create(username='testuser1') - # Get new step data, since we modify it during the tests. - self.wizard_step_data = copy.deepcopy(self.wizard_step_data) - self.wizard_step_data[0]['form1-user'] = self.testuser.pk - - def tearDown(self): - # Ensure that there are no files in the storage which could lead to false - # results in the next tests. Deleting the whole storage dir is not really - # an option since the storage is defined on the module level and can't be - # easily reinitialized. (FIXME: The tests here should use the view classes - # directly instead of the test client, then the storage issues would go - # away too.) - for file in temp_storage.listdir('')[1]: - temp_storage.delete(file) - - def test_initial_call(self): - response = self.client.get(reverse('%s_start' % self.wizard_urlname)) - self.assertEqual(response.status_code, 302) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - wizard = response.context['wizard'] - self.assertEqual(wizard['steps'].current, 'form1') - self.assertEqual(wizard['steps'].step0, 0) - self.assertEqual(wizard['steps'].step1, 1) - self.assertEqual(wizard['steps'].last, 'form4') - self.assertEqual(wizard['steps'].prev, None) - self.assertEqual(wizard['steps'].next, 'form2') - self.assertEqual(wizard['steps'].count, 4) - self.assertEqual(wizard['url_name'], self.wizard_urlname) - - def test_initial_call_with_params(self): - get_params = {'getvar1': 'getval1', 'getvar2': 'getval2'} - response = self.client.get(reverse('%s_start' % self.wizard_urlname), - get_params) - self.assertEqual(response.status_code, 302) - - # Test for proper redirect GET parameters - location = response.url - self.assertNotEqual(location.find('?'), -1) - querydict = QueryDict(location[location.find('?') + 1:]) - self.assertEqual(dict(querydict.items()), get_params) - - def test_form_post_error(self): - response = self.client.post( - reverse(self.wizard_urlname, kwargs={'step': 'form1'}), - self.wizard_step_1_data) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - self.assertEqual(response.context['wizard']['form'].errors, - {'name': ['This field is required.'], - 'user': ['This field is required.']}) - - def test_form_post_success(self): - response = self.client.post( - reverse(self.wizard_urlname, kwargs={'step': 'form1'}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - wizard = response.context['wizard'] - self.assertEqual(wizard['steps'].current, 'form2') - self.assertEqual(wizard['steps'].step0, 1) - self.assertEqual(wizard['steps'].prev, 'form1') - self.assertEqual(wizard['steps'].next, 'form3') - - def test_form_stepback(self): - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form1'})) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.post( - reverse(self.wizard_urlname, kwargs={'step': 'form1'}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - response = self.client.post( - reverse(self.wizard_urlname, kwargs={ - 'step': response.context['wizard']['steps'].current - }), {'wizard_goto_step': response.context['wizard']['steps'].prev}) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - def test_form_jump(self): - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form1'})) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form3'})) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form3') - - def test_form_finish(self): - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form1'})) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - post_data) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form3') - - # Check that the file got uploaded properly. - with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2: - self.assertEqual(f.read(), f2.read()) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[2]) - response = self.client.get(response.url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form4') - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[3]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - # After the wizard is done no files should exist anymore. - self.assertFalse(temp_storage.exists(UPLOADED_FILE_NAME)) - - all_data = response.context['form_list'] - del all_data[1]['file1'] - self.assertEqual(all_data, [ - {'name': 'Pony', 'thirsty': True, 'user': self.testuser}, - {'address1': '123 Main St', 'address2': 'Djangoland'}, - {'random_crap': 'blah blah'}, - [{'random_crap': 'blah blah'}, {'random_crap': 'blah blah'}]]) - - def test_cleaned_data(self): - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form1'})) - self.assertEqual(response.status_code, 200) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - post_data) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - self.assertTrue(temp_storage.exists(UPLOADED_FILE_NAME)) - - step2_url = reverse(self.wizard_urlname, kwargs={'step': 'form2'}) - response = self.client.get(step2_url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2: - self.assertEqual(f.read(), f2.read()) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[2]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[3]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - all_data = response.context['all_cleaned_data'] - self.assertEqual(all_data['file1'].name, UPLOADED_FILE_NAME) - self.assertTrue(all_data['file1'].closed) - self.assertFalse(temp_storage.exists(UPLOADED_FILE_NAME)) - del all_data['file1'] - self.assertEqual( - all_data, - {'name': 'Pony', 'thirsty': True, 'user': self.testuser, - 'address1': '123 Main St', 'address2': 'Djangoland', - 'random_crap': 'blah blah', 'formset-form4': [ - {'random_crap': 'blah blah'}, - {'random_crap': 'blah blah'} - ]}) - - form_dict = response.context['form_dict'] - self.assertIn('form1', form_dict.keys()) - self.assertIn('form2', form_dict.keys()) - self.assertEqual(form_dict['form1'].cleaned_data, response.context['form_list'][0]) - - def test_manipulated_data(self): - response = self.client.get( - reverse(self.wizard_urlname, kwargs={'step': 'form1'})) - self.assertEqual(response.status_code, 200) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - post_data) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[2]) - loc = response.url - response = self.client.get(loc) - self.assertEqual(response.status_code, 200, loc) - - self.client.cookies.pop('sessionid', None) - self.client.cookies.pop('wizard_cookie_contact_wizard', None) - - response = self.client.post( - reverse(self.wizard_urlname, - kwargs={'step': response.context['wizard']['steps'].current}), - self.wizard_step_data[3]) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - def test_form_reset(self): - response = self.client.post( - reverse(self.wizard_urlname, kwargs={'step': 'form1'}), - self.wizard_step_data[0]) - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - response = self.client.get( - '%s?reset=1' % reverse('%s_start' % self.wizard_urlname)) - self.assertEqual(response.status_code, 302) - - response = self.client.get(response.url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.namedwizardtests.urls') -class NamedSessionWizardTests(NamedWizardTests, TestCase): - wizard_urlname = 'nwiz_session' - wizard_step_1_data = { - 'session_contact_wizard-current_step': 'form1', - } - wizard_step_data = ( - { - 'form1-name': 'Pony', - 'form1-thirsty': '2', - 'session_contact_wizard-current_step': 'form1', - }, - { - 'form2-address1': '123 Main St', - 'form2-address2': 'Djangoland', - 'session_contact_wizard-current_step': 'form2', - }, - { - 'form3-random_crap': 'blah blah', - 'session_contact_wizard-current_step': 'form3', - }, - { - 'form4-INITIAL_FORMS': '0', - 'form4-TOTAL_FORMS': '2', - 'form4-MAX_NUM_FORMS': '0', - 'form4-0-random_crap': 'blah blah', - 'form4-1-random_crap': 'blah blah', - 'session_contact_wizard-current_step': 'form4', - } - ) - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.namedwizardtests.urls') -class NamedCookieWizardTests(NamedWizardTests, TestCase): - wizard_urlname = 'nwiz_cookie' - wizard_step_1_data = { - 'cookie_contact_wizard-current_step': 'form1', - } - wizard_step_data = ( - { - 'form1-name': 'Pony', - 'form1-thirsty': '2', - 'cookie_contact_wizard-current_step': 'form1', - }, - { - 'form2-address1': '123 Main St', - 'form2-address2': 'Djangoland', - 'cookie_contact_wizard-current_step': 'form2', - }, - { - 'form3-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form3', - }, - { - 'form4-INITIAL_FORMS': '0', - 'form4-TOTAL_FORMS': '2', - 'form4-MAX_NUM_FORMS': '0', - 'form4-0-random_crap': 'blah blah', - 'form4-1-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form4', - } - ) - - -class NamedFormTests(object): - - def test_revalidation(self): - request = get_request() - - testform = self.formwizard_class.as_view( - [('start', Step1), ('step2', Step2)], - url_name=self.wizard_urlname) - response, instance = testform(request, step='done') - - instance.render_done(None) - self.assertEqual(instance.storage.current_step, 'start') - - -class TestNamedUrlSessionWizardView(NamedUrlSessionWizardView): - - def dispatch(self, request, *args, **kwargs): - response = super(TestNamedUrlSessionWizardView, self).dispatch(request, *args, **kwargs) - return response, self - - -class TestNamedUrlCookieWizardView(NamedUrlCookieWizardView): - - def dispatch(self, request, *args, **kwargs): - response = super(TestNamedUrlCookieWizardView, self).dispatch(request, *args, **kwargs) - return response, self - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.namedwizardtests.urls') -class NamedSessionFormTests(NamedFormTests, TestCase): - formwizard_class = TestNamedUrlSessionWizardView - wizard_urlname = 'nwiz_session' - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.namedwizardtests.urls') -class NamedCookieFormTests(NamedFormTests, TestCase): - formwizard_class = TestNamedUrlCookieWizardView - wizard_urlname = 'nwiz_cookie' diff --git a/django/contrib/formtools/tests/wizard/namedwizardtests/urls.py b/django/contrib/formtools/tests/wizard/namedwizardtests/urls.py deleted file mode 100644 index 0cf92248be..0000000000 --- a/django/contrib/formtools/tests/wizard/namedwizardtests/urls.py +++ /dev/null @@ -1,26 +0,0 @@ -from django.conf.urls import url -from django.contrib.formtools.tests.wizard.namedwizardtests.forms import ( - SessionContactWizard, CookieContactWizard, Page1, Page2, Page3, Page4) - - -def get_named_session_wizard(): - return SessionContactWizard.as_view( - [('form1', Page1), ('form2', Page2), ('form3', Page3), ('form4', Page4)], - url_name='nwiz_session', - done_step_name='nwiz_session_done' - ) - - -def get_named_cookie_wizard(): - return CookieContactWizard.as_view( - [('form1', Page1), ('form2', Page2), ('form3', Page3), ('form4', Page4)], - url_name='nwiz_cookie', - done_step_name='nwiz_cookie_done' - ) - -urlpatterns = [ - url(r'^nwiz_session/(?P.+)/$', get_named_session_wizard(), name='nwiz_session'), - url(r'^nwiz_session/$', get_named_session_wizard(), name='nwiz_session_start'), - url(r'^nwiz_cookie/(?P.+)/$', get_named_cookie_wizard(), name='nwiz_cookie'), - url(r'^nwiz_cookie/$', get_named_cookie_wizard(), name='nwiz_cookie_start'), -] diff --git a/django/contrib/formtools/tests/wizard/storage.py b/django/contrib/formtools/tests/wizard/storage.py deleted file mode 100644 index b047b1135d..0000000000 --- a/django/contrib/formtools/tests/wizard/storage.py +++ /dev/null @@ -1,111 +0,0 @@ -from datetime import datetime -from importlib import import_module -import os -import tempfile - -from django.http import HttpRequest, HttpResponse -from django.conf import settings -from django.contrib.auth.models import User -from django.core.files.storage import FileSystemStorage -from django.core.files.uploadedfile import SimpleUploadedFile - - -temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR')) -temp_storage = FileSystemStorage(location=temp_storage_location) - - -def get_request(): - request = HttpRequest() - engine = import_module(settings.SESSION_ENGINE) - request.session = engine.SessionStore(None) - return request - - -class TestStorage(object): - def setUp(self): - self.testuser, created = User.objects.get_or_create(username='testuser1') - - def test_current_step(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - my_step = 2 - - self.assertEqual(storage.current_step, None) - - storage.current_step = my_step - self.assertEqual(storage.current_step, my_step) - - storage.reset() - self.assertEqual(storage.current_step, None) - - storage.current_step = my_step - storage2 = self.get_storage()('wizard2', request, None) - self.assertEqual(storage2.current_step, None) - - def test_step_data(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - step1 = 'start' - step_data1 = {'field1': 'data1', - 'field2': 'data2', - 'field3': datetime.now(), - 'field4': self.testuser} - - self.assertEqual(storage.get_step_data(step1), None) - - storage.set_step_data(step1, step_data1) - self.assertEqual(storage.get_step_data(step1), step_data1) - - storage.reset() - self.assertEqual(storage.get_step_data(step1), None) - - storage.set_step_data(step1, step_data1) - storage2 = self.get_storage()('wizard2', request, None) - self.assertEqual(storage2.get_step_data(step1), None) - - def test_extra_context(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - extra_context = {'key1': 'data1', - 'key2': 'data2', - 'key3': datetime.now(), - 'key4': self.testuser} - - self.assertEqual(storage.extra_data, {}) - - storage.extra_data = extra_context - self.assertEqual(storage.extra_data, extra_context) - - storage.reset() - self.assertEqual(storage.extra_data, {}) - - storage.extra_data = extra_context - storage2 = self.get_storage()('wizard2', request, None) - self.assertEqual(storage2.extra_data, {}) - - def test_extra_context_key_persistence(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - - self.assertFalse('test' in storage.extra_data) - - storage.extra_data['test'] = True - - self.assertTrue('test' in storage.extra_data) - - def test_reset_deletes_tmp_files(self): - request = get_request() - storage = self.get_storage()('wizard1', request, temp_storage) - - step = 'start' - file_ = SimpleUploadedFile('file.txt', b'content') - storage.set_step_files(step, {'file': file_}) - - with storage.get_step_files(step)['file'] as file: - tmp_name = file.name - - self.assertTrue(storage.file_storage.exists(tmp_name)) - - storage.reset() - storage.update_response(HttpResponse()) - self.assertFalse(storage.file_storage.exists(tmp_name)) diff --git a/django/contrib/formtools/tests/wizard/test_cookiestorage.py b/django/contrib/formtools/tests/wizard/test_cookiestorage.py deleted file mode 100644 index e5377e9959..0000000000 --- a/django/contrib/formtools/tests/wizard/test_cookiestorage.py +++ /dev/null @@ -1,46 +0,0 @@ -from django.test import TestCase -from django.core import signing -from django.http import HttpResponse - -from django.contrib.auth.tests.utils import skipIfCustomUser -from django.contrib.formtools.wizard.storage.cookie import CookieStorage -from django.contrib.formtools.tests.wizard.storage import get_request, TestStorage - - -@skipIfCustomUser -class TestCookieStorage(TestStorage, TestCase): - def get_storage(self): - return CookieStorage - - def test_manipulated_cookie(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - - cookie_signer = signing.get_cookie_signer(storage.prefix) - - storage.request.COOKIES[storage.prefix] = cookie_signer.sign( - storage.encoder.encode({'key1': 'value1'})) - - self.assertEqual(storage.load_data(), {'key1': 'value1'}) - - storage.request.COOKIES[storage.prefix] = 'i_am_manipulated' - self.assertIsNone(storage.load_data()) - - def test_reset_cookie(self): - request = get_request() - storage = self.get_storage()('wizard1', request, None) - - storage.data = {'key1': 'value1'} - - response = HttpResponse() - storage.update_response(response) - - cookie_signer = signing.get_cookie_signer(storage.prefix) - signed_cookie_data = cookie_signer.sign(storage.encoder.encode(storage.data)) - self.assertEqual(response.cookies[storage.prefix].value, signed_cookie_data) - - storage.init_data() - storage.update_response(response) - unsigned_cookie_data = cookie_signer.unsign(response.cookies[storage.prefix].value) - self.assertJSONEqual(unsigned_cookie_data, - {"step_files": {}, "step": None, "extra_data": {}, "step_data": {}}) diff --git a/django/contrib/formtools/tests/wizard/test_forms.py b/django/contrib/formtools/tests/wizard/test_forms.py deleted file mode 100644 index 9ae99cc89b..0000000000 --- a/django/contrib/formtools/tests/wizard/test_forms.py +++ /dev/null @@ -1,256 +0,0 @@ -from __future__ import unicode_literals - -from importlib import import_module - -from django import forms, http -from django.conf import settings -from django.db import models -from django.test import TestCase -from django.template.response import TemplateResponse - -from django.contrib.auth.models import User - -from django.contrib.formtools.wizard.views import (WizardView, - SessionWizardView, - CookieWizardView) - - -class DummyRequest(http.HttpRequest): - def __init__(self, POST=None): - super(DummyRequest, self).__init__() - self.method = "POST" if POST else "GET" - if POST is not None: - self.POST.update(POST) - self.session = {} - self._dont_enforce_csrf_checks = True - - -def get_request(*args, **kwargs): - request = DummyRequest(*args, **kwargs) - engine = import_module(settings.SESSION_ENGINE) - request.session = engine.SessionStore(None) - return request - - -class Step1(forms.Form): - name = forms.CharField() - - -class Step2(forms.Form): - name = forms.CharField() - - -class Step3(forms.Form): - data = forms.CharField() - - -class CustomKwargsStep1(Step1): - - def __init__(self, test=None, *args, **kwargs): - self.test = test - super(CustomKwargsStep1, self).__init__(*args, **kwargs) - - -class TestModel(models.Model): - name = models.CharField(max_length=100) - - class Meta: - app_label = 'formtools' - - -class TestModelForm(forms.ModelForm): - class Meta: - model = TestModel - fields = '__all__' - - -TestModelFormSet = forms.models.modelformset_factory(TestModel, form=TestModelForm, extra=2, - fields='__all__') - - -class TestWizard(WizardView): - storage_name = 'django.contrib.formtools.wizard.storage.session.SessionStorage' - - def dispatch(self, request, *args, **kwargs): - response = super(TestWizard, self).dispatch(request, *args, **kwargs) - return response, self - - def get_form_kwargs(self, step, *args, **kwargs): - kwargs = super(TestWizard, self).get_form_kwargs(step, *args, **kwargs) - if step == 'kwargs_test': - kwargs['test'] = True - return kwargs - - -class TestWizardWithInitAttrs(TestWizard): - form_list = [Step1, Step2] - condition_dict = {'step2': True} - initial_dict = {'start': {'name': 'value1'}} - instance_dict = {'start': User()} - - -class FormTests(TestCase): - def test_form_init(self): - testform = TestWizard.get_initkwargs([Step1, Step2]) - self.assertEqual(testform['form_list'], {'0': Step1, '1': Step2}) - - testform = TestWizard.get_initkwargs([('start', Step1), ('step2', Step2)]) - self.assertEqual( - testform['form_list'], {'start': Step1, 'step2': Step2}) - - testform = TestWizard.get_initkwargs([Step1, Step2, ('finish', Step3)]) - self.assertEqual( - testform['form_list'], {'0': Step1, '1': Step2, 'finish': Step3}) - - testform = TestWizardWithInitAttrs.get_initkwargs() - self.assertEqual(testform['form_list'], {'0': Step1, '1': Step2}) - - def test_first_step(self): - request = get_request() - - testform = TestWizard.as_view([Step1, Step2]) - response, instance = testform(request) - self.assertEqual(instance.steps.current, '0') - - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - response, instance = testform(request) - - self.assertEqual(instance.steps.current, 'start') - - def test_persistence(self): - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - request = get_request({'test_wizard-current_step': 'start', - 'name': 'data1'}) - response, instance = testform(request) - self.assertEqual(instance.steps.current, 'start') - - instance.storage.current_step = 'step2' - - testform2 = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - request.POST = {'test_wizard-current_step': 'step2'} - response, instance = testform2(request) - self.assertEqual(instance.steps.current, 'step2') - - def test_form_condition(self): - request = get_request() - - testform = TestWizard.as_view( - [('start', Step1), ('step2', Step2), ('step3', Step3)], - condition_dict={'step2': True}) - response, instance = testform(request) - self.assertEqual(instance.get_next_step(), 'step2') - - testform = TestWizard.as_view( - [('start', Step1), ('step2', Step2), ('step3', Step3)], - condition_dict={'step2': False}) - response, instance = testform(request) - self.assertEqual(instance.get_next_step(), 'step3') - - testform = TestWizardWithInitAttrs.as_view( - [('start', Step1), ('step2', Step2), ('step3', Step3)]) - response, instance = testform(request) - self.assertEqual(instance.get_next_step(), 'step2') - - def test_form_kwargs(self): - request = get_request() - - testform = TestWizard.as_view([('start', Step1), - ('kwargs_test', CustomKwargsStep1)]) - response, instance = testform(request) - - self.assertEqual(instance.get_form_kwargs('start'), {}) - self.assertEqual(instance.get_form_kwargs('kwargs_test'), {'test': True}) - self.assertEqual(instance.get_form('kwargs_test').test, True) - - def test_form_prefix(self): - request = get_request() - - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - response, instance = testform(request) - - self.assertEqual(instance.get_form_prefix(), 'start') - self.assertEqual(instance.get_form_prefix('another'), 'another') - - def test_form_initial(self): - request = get_request() - - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)], - initial_dict={'start': {'name': 'value1'}}) - response, instance = testform(request) - - self.assertEqual(instance.get_form_initial('start'), {'name': 'value1'}) - self.assertEqual(instance.get_form_initial('step2'), {}) - - testform = TestWizardWithInitAttrs.as_view( - [('start', Step1), ('step2', Step2)]) - response, instance = testform(request) - - self.assertEqual(instance.get_form_initial('start'), {'name': 'value1'}) - self.assertEqual(instance.get_form_initial('step2'), {}) - - def test_form_instance(self): - request = get_request() - the_instance = TestModel() - testform = TestWizard.as_view([('start', TestModelForm), ('step2', Step2)], - instance_dict={'start': the_instance}) - response, instance = testform(request) - - self.assertEqual( - instance.get_form_instance('start'), - the_instance) - self.assertEqual( - instance.get_form_instance('non_exist_instance'), - None) - - testform = TestWizardWithInitAttrs.as_view( - [('start', TestModelForm), ('step2', Step2)]) - response, instance = testform(request) - - self.assertEqual( - instance.get_form_instance('start'), - TestWizardWithInitAttrs.instance_dict['start']) - - def test_formset_instance(self): - request = get_request() - the_instance1, created = TestModel.objects.get_or_create( - name='test object 1') - the_instance2, created = TestModel.objects.get_or_create( - name='test object 2') - testform = TestWizard.as_view([('start', TestModelFormSet), ('step2', Step2)], - instance_dict={'start': TestModel.objects.filter(name='test object 1')}) - response, instance = testform(request) - - self.assertEqual(list(instance.get_form_instance('start')), [the_instance1]) - self.assertEqual(instance.get_form_instance('non_exist_instance'), None) - - self.assertEqual(instance.get_form().initial_form_count(), 1) - - def test_done(self): - request = get_request() - - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - response, instance = testform(request) - - self.assertRaises(NotImplementedError, instance.done, None) - - def test_revalidation(self): - request = get_request() - - testform = TestWizard.as_view([('start', Step1), ('step2', Step2)]) - response, instance = testform(request) - instance.render_done(None) - self.assertEqual(instance.storage.current_step, 'start') - - -class SessionFormTests(TestCase): - def test_init(self): - request = get_request() - testform = SessionWizardView.as_view([('start', Step1)]) - self.assertIsInstance(testform(request), TemplateResponse) - - -class CookieFormTests(TestCase): - def test_init(self): - request = get_request() - testform = CookieWizardView.as_view([('start', Step1)]) - self.assertIsInstance(testform(request), TemplateResponse) diff --git a/django/contrib/formtools/tests/wizard/test_loadstorage.py b/django/contrib/formtools/tests/wizard/test_loadstorage.py deleted file mode 100644 index f0f350e712..0000000000 --- a/django/contrib/formtools/tests/wizard/test_loadstorage.py +++ /dev/null @@ -1,17 +0,0 @@ -from django.test import TestCase - -from django.contrib.formtools.wizard.storage import get_storage, MissingStorage -from django.contrib.formtools.wizard.storage.base import BaseStorage - - -class TestLoadStorage(TestCase): - def test_load_storage(self): - self.assertEqual( - type(get_storage('django.contrib.formtools.wizard.storage.base.BaseStorage', 'wizard1')), - BaseStorage) - - def test_missing_storage(self): - self.assertRaises(MissingStorage, get_storage, - 'django.contrib.formtools.wizard.storage.idontexist.IDontExistStorage', 'wizard1') - self.assertRaises(MissingStorage, get_storage, - 'django.contrib.formtools.wizard.storage.base.IDontExistStorage', 'wizard1') diff --git a/django/contrib/formtools/tests/wizard/test_sessionstorage.py b/django/contrib/formtools/tests/wizard/test_sessionstorage.py deleted file mode 100644 index 0bd9fd8ecd..0000000000 --- a/django/contrib/formtools/tests/wizard/test_sessionstorage.py +++ /dev/null @@ -1,11 +0,0 @@ -from django.test import TestCase - -from django.contrib.auth.tests.utils import skipIfCustomUser -from django.contrib.formtools.tests.wizard.storage import TestStorage -from django.contrib.formtools.wizard.storage.session import SessionStorage - - -@skipIfCustomUser -class TestSessionStorage(TestStorage, TestCase): - def get_storage(self): - return SessionStorage diff --git a/django/contrib/formtools/tests/wizard/wizardtests/__init__.py b/django/contrib/formtools/tests/wizard/wizardtests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/formtools/tests/wizard/wizardtests/forms.py b/django/contrib/formtools/tests/wizard/wizardtests/forms.py deleted file mode 100644 index 5e4617c1cd..0000000000 --- a/django/contrib/formtools/tests/wizard/wizardtests/forms.py +++ /dev/null @@ -1,72 +0,0 @@ -import os -import tempfile - -from django import forms -from django.contrib.auth.models import User -from django.core.files.storage import FileSystemStorage -from django.forms.formsets import formset_factory -from django.forms.models import modelformset_factory -from django.http import HttpResponse -from django.template import Template, Context - -from django.contrib.formtools.wizard.views import WizardView - - -temp_storage_location = tempfile.mkdtemp(dir=os.environ.get('DJANGO_TEST_TEMP_DIR')) -temp_storage = FileSystemStorage(location=temp_storage_location) - - -class Page1(forms.Form): - name = forms.CharField(max_length=100) - user = forms.ModelChoiceField(queryset=User.objects.all()) - thirsty = forms.NullBooleanField() - - -class Page2(forms.Form): - address1 = forms.CharField(max_length=100) - address2 = forms.CharField(max_length=100) - file1 = forms.FileField() - - -class Page3(forms.Form): - random_crap = forms.CharField(max_length=100) - -Page4 = formset_factory(Page3, extra=2) - - -class ContactWizard(WizardView): - file_storage = temp_storage - - def done(self, form_list, **kwargs): - c = Context({ - 'form_list': [x.cleaned_data for x in form_list], - 'all_cleaned_data': self.get_all_cleaned_data(), - }) - - for form in self.form_list.keys(): - c[form] = self.get_cleaned_data_for_step(form) - - c['this_will_fail'] = self.get_cleaned_data_for_step('this_will_fail') - return HttpResponse(Template('').render(c)) - - def get_context_data(self, form, **kwargs): - context = super(ContactWizard, self).get_context_data(form, **kwargs) - if self.storage.current_step == 'form2': - context.update({'another_var': True}) - return context - - -class UserForm(forms.ModelForm): - class Meta: - model = User - fields = ('username', 'email') - -UserFormSet = modelformset_factory(User, form=UserForm) - - -class SessionContactWizard(ContactWizard): - storage_name = 'django.contrib.formtools.wizard.storage.session.SessionStorage' - - -class CookieContactWizard(ContactWizard): - storage_name = 'django.contrib.formtools.wizard.storage.cookie.CookieStorage' diff --git a/django/contrib/formtools/tests/wizard/wizardtests/templates/other_wizard_form.html b/django/contrib/formtools/tests/wizard/wizardtests/templates/other_wizard_form.html deleted file mode 100644 index 45f812cbae..0000000000 --- a/django/contrib/formtools/tests/wizard/wizardtests/templates/other_wizard_form.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "formtools/wizard/wizard_form.html" %} diff --git a/django/contrib/formtools/tests/wizard/wizardtests/tests.py b/django/contrib/formtools/tests/wizard/wizardtests/tests.py deleted file mode 100644 index b880dcb0b3..0000000000 --- a/django/contrib/formtools/tests/wizard/wizardtests/tests.py +++ /dev/null @@ -1,460 +0,0 @@ -from __future__ import unicode_literals - -import copy -import os - -from django import forms -from django.test import TestCase, override_settings -from django.test.client import RequestFactory -from django.conf import settings -from django.contrib.auth.models import User -from django.contrib.auth.tests.utils import skipIfCustomUser -from django.contrib.formtools.wizard.views import CookieWizardView -from django.utils._os import upath -from django.contrib.formtools.tests.models import Poet, Poem - -from .forms import temp_storage - - -# On Python 2, __file__ may end with .pyc -THIS_FILE = upath(__file__.rstrip("c")) -UPLOADED_FILE_NAME = 'tests.py' - - -class UserForm(forms.ModelForm): - class Meta: - model = User - fields = '__all__' - - -UserFormSet = forms.models.modelformset_factory(User, form=UserForm, extra=2) -PoemFormSet = forms.models.inlineformset_factory(Poet, Poem, fields="__all__") - - -class WizardTests(object): - - def setUp(self): - self.testuser, created = User.objects.get_or_create(username='testuser1') - # Get new step data, since we modify it during the tests. - self.wizard_step_data = copy.deepcopy(self.wizard_step_data) - self.wizard_step_data[0]['form1-user'] = self.testuser.pk - - def tearDown(self): - # Ensure that there are no files in the storage which could lead to false - # results in the next tests. Deleting the whole storage dir is not really - # an option since the storage is defined on the module level and can't be - # easily reinitialized. (FIXME: The tests here should use the view classes - # directly instead of the test client, then the storage issues would go - # away too.) - for file in temp_storage.listdir('')[1]: - temp_storage.delete(file) - - def test_initial_call(self): - response = self.client.get(self.wizard_url) - wizard = response.context['wizard'] - self.assertEqual(response.status_code, 200) - self.assertEqual(wizard['steps'].current, 'form1') - self.assertEqual(wizard['steps'].step0, 0) - self.assertEqual(wizard['steps'].step1, 1) - self.assertEqual(wizard['steps'].last, 'form4') - self.assertEqual(wizard['steps'].prev, None) - self.assertEqual(wizard['steps'].next, 'form2') - self.assertEqual(wizard['steps'].count, 4) - - def test_form_post_error(self): - response = self.client.post(self.wizard_url, self.wizard_step_1_data) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - self.assertEqual(response.context['wizard']['form'].errors, - {'name': ['This field is required.'], - 'user': ['This field is required.']}) - - def test_form_post_success(self): - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - wizard = response.context['wizard'] - self.assertEqual(response.status_code, 200) - self.assertEqual(wizard['steps'].current, 'form2') - self.assertEqual(wizard['steps'].step0, 1) - self.assertEqual(wizard['steps'].prev, 'form1') - self.assertEqual(wizard['steps'].next, 'form3') - - def test_form_stepback(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - response = self.client.post(self.wizard_url, { - 'wizard_goto_step': response.context['wizard']['steps'].prev}) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - def test_template_context(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - self.assertEqual(response.context.get('another_var', None), None) - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - self.assertEqual(response.context.get('another_var', None), True) - - # ticket #19025: `form` should be included in context - form = response.context_data['wizard']['form'] - self.assertEqual(response.context_data['form'], form) - - def test_form_finish(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - post_data = self.wizard_step_data[1] - with open(upath(THIS_FILE), 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post(self.wizard_url, post_data) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form3') - - # Check that the file got uploaded properly. - with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2: - self.assertEqual(f.read(), f2.read()) - - response = self.client.post(self.wizard_url, self.wizard_step_data[2]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form4') - - response = self.client.post(self.wizard_url, self.wizard_step_data[3]) - self.assertEqual(response.status_code, 200) - - # After the wizard is done no files should exist anymore. - self.assertFalse(temp_storage.exists(UPLOADED_FILE_NAME)) - - all_data = response.context['form_list'] - del all_data[1]['file1'] - self.assertEqual(all_data, [ - {'name': 'Pony', 'thirsty': True, 'user': self.testuser}, - {'address1': '123 Main St', 'address2': 'Djangoland'}, - {'random_crap': 'blah blah'}, - [{'random_crap': 'blah blah'}, - {'random_crap': 'blah blah'}]]) - - def test_cleaned_data(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post(self.wizard_url, post_data) - self.assertEqual(response.status_code, 200) - self.assertTrue(temp_storage.exists(UPLOADED_FILE_NAME)) - - response = self.client.post(self.wizard_url, self.wizard_step_data[2]) - self.assertEqual(response.status_code, 200) - - response = self.client.post(self.wizard_url, self.wizard_step_data[3]) - self.assertEqual(response.status_code, 200) - - all_data = response.context['all_cleaned_data'] - self.assertEqual(all_data['file1'].name, UPLOADED_FILE_NAME) - self.assertTrue(all_data['file1'].closed) - self.assertFalse(temp_storage.exists(UPLOADED_FILE_NAME)) - del all_data['file1'] - self.assertEqual(all_data, { - 'name': 'Pony', 'thirsty': True, 'user': self.testuser, - 'address1': '123 Main St', 'address2': 'Djangoland', - 'random_crap': 'blah blah', 'formset-form4': [ - {'random_crap': 'blah blah'}, - {'random_crap': 'blah blah'}]}) - - def test_manipulated_data(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post(self.wizard_url, post_data) - self.assertEqual(response.status_code, 200) - - response = self.client.post(self.wizard_url, self.wizard_step_data[2]) - self.assertEqual(response.status_code, 200) - self.client.cookies.pop('sessionid', None) - self.client.cookies.pop('wizard_cookie_contact_wizard', None) - - response = self.client.post(self.wizard_url, self.wizard_step_data[3]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - def test_form_refresh(self): - response = self.client.get(self.wizard_url) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form1') - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - post_data = self.wizard_step_data[1] - with open(THIS_FILE, 'rb') as post_file: - post_data['form2-file1'] = post_file - response = self.client.post(self.wizard_url, post_data) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form3') - - response = self.client.post(self.wizard_url, self.wizard_step_data[2]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form4') - - response = self.client.post(self.wizard_url, self.wizard_step_data[0]) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.context['wizard']['steps'].current, 'form2') - - response = self.client.post(self.wizard_url, self.wizard_step_data[3]) - self.assertEqual(response.status_code, 200) - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.wizardtests.urls') -class SessionWizardTests(WizardTests, TestCase): - wizard_url = '/wiz_session/' - wizard_step_1_data = { - 'session_contact_wizard-current_step': 'form1', - } - wizard_step_data = ( - { - 'form1-name': 'Pony', - 'form1-thirsty': '2', - 'session_contact_wizard-current_step': 'form1', - }, - { - 'form2-address1': '123 Main St', - 'form2-address2': 'Djangoland', - 'session_contact_wizard-current_step': 'form2', - }, - { - 'form3-random_crap': 'blah blah', - 'session_contact_wizard-current_step': 'form3', - }, - { - 'form4-INITIAL_FORMS': '0', - 'form4-TOTAL_FORMS': '2', - 'form4-MAX_NUM_FORMS': '0', - 'form4-0-random_crap': 'blah blah', - 'form4-1-random_crap': 'blah blah', - 'session_contact_wizard-current_step': 'form4', - } - ) - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.wizardtests.urls') -class CookieWizardTests(WizardTests, TestCase): - wizard_url = '/wiz_cookie/' - wizard_step_1_data = { - 'cookie_contact_wizard-current_step': 'form1', - } - wizard_step_data = ( - { - 'form1-name': 'Pony', - 'form1-thirsty': '2', - 'cookie_contact_wizard-current_step': 'form1', - }, - { - 'form2-address1': '123 Main St', - 'form2-address2': 'Djangoland', - 'cookie_contact_wizard-current_step': 'form2', - }, - { - 'form3-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form3', - }, - { - 'form4-INITIAL_FORMS': '0', - 'form4-TOTAL_FORMS': '2', - 'form4-MAX_NUM_FORMS': '0', - 'form4-0-random_crap': 'blah blah', - 'form4-1-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form4', - } - ) - - -@skipIfCustomUser -@override_settings(ROOT_URLCONF='django.contrib.formtools.tests.wizard.wizardtests.urls') -class WizardTestKwargs(TestCase): - wizard_url = '/wiz_other_template/' - wizard_step_1_data = { - 'cookie_contact_wizard-current_step': 'form1', - } - wizard_step_data = ( - { - 'form1-name': 'Pony', - 'form1-thirsty': '2', - 'cookie_contact_wizard-current_step': 'form1', - }, - { - 'form2-address1': '123 Main St', - 'form2-address2': 'Djangoland', - 'cookie_contact_wizard-current_step': 'form2', - }, - { - 'form3-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form3', - }, - { - 'form4-INITIAL_FORMS': '0', - 'form4-TOTAL_FORMS': '2', - 'form4-MAX_NUM_FORMS': '0', - 'form4-0-random_crap': 'blah blah', - 'form4-1-random_crap': 'blah blah', - 'cookie_contact_wizard-current_step': 'form4', - } - ) - - def setUp(self): - self.testuser, created = User.objects.get_or_create(username='testuser1') - self.wizard_step_data[0]['form1-user'] = self.testuser.pk - - def test_template(self): - templates = os.path.join(os.path.dirname(THIS_FILE), 'templates') - with self.settings( - TEMPLATE_DIRS=list(settings.TEMPLATE_DIRS) + [templates]): - response = self.client.get(self.wizard_url) - self.assertTemplateUsed(response, 'other_wizard_form.html') - - -class WizardTestGenericViewInterface(TestCase): - def test_get_context_data_inheritance(self): - class TestWizard(CookieWizardView): - """ - A subclass that implements ``get_context_data`` using the standard - protocol for generic views (accept only **kwargs). - - See ticket #17148. - """ - def get_context_data(self, **kwargs): - context = super(TestWizard, self).get_context_data(**kwargs) - context['test_key'] = 'test_value' - return context - - factory = RequestFactory() - view = TestWizard.as_view([forms.Form]) - - response = view(factory.get('/')) - self.assertEqual(response.context_data['test_key'], 'test_value') - - def test_get_context_data_with_mixin(self): - class AnotherMixin(object): - def get_context_data(self, **kwargs): - context = super(AnotherMixin, self).get_context_data(**kwargs) - context['another_key'] = 'another_value' - return context - - class TestWizard(AnotherMixin, CookieWizardView): - """ - A subclass that implements ``get_context_data`` using the standard - protocol for generic views (accept only **kwargs). - - See ticket #17148. - """ - def get_context_data(self, **kwargs): - context = super(TestWizard, self).get_context_data(**kwargs) - context['test_key'] = 'test_value' - return context - - factory = RequestFactory() - - view = TestWizard.as_view([forms.Form]) - - response = view(factory.get('/')) - self.assertEqual(response.context_data['test_key'], 'test_value') - self.assertEqual(response.context_data['another_key'], 'another_value') - - -@skipIfCustomUser -class WizardFormKwargsOverrideTests(TestCase): - def setUp(self): - super(WizardFormKwargsOverrideTests, self).setUp() - self.rf = RequestFactory() - - # Create two users so we can filter by is_staff when handing our - # wizard a queryset keyword argument. - self.normal_user = User.objects.create(username='test1', email='normal@example.com') - self.staff_user = User.objects.create(username='test2', email='staff@example.com', is_staff=True) - - def test_instance_is_maintained(self): - self.assertEqual(2, User.objects.count()) - queryset = User.objects.get(pk=self.staff_user.pk) - - class InstanceOverrideWizard(CookieWizardView): - def get_form_kwargs(self, step): - return {'instance': queryset} - - view = InstanceOverrideWizard.as_view([UserForm]) - response = view(self.rf.get('/')) - - form = response.context_data['wizard']['form'] - - self.assertNotEqual(form.instance.pk, None) - self.assertEqual(form.instance.pk, self.staff_user.pk) - self.assertEqual('staff@example.com', form.initial.get('email', None)) - - def test_queryset_is_maintained(self): - queryset = User.objects.filter(pk=self.staff_user.pk) - - class QuerySetOverrideWizard(CookieWizardView): - def get_form_kwargs(self, step): - return {'queryset': queryset} - - view = QuerySetOverrideWizard.as_view([UserFormSet]) - response = view(self.rf.get('/')) - - formset = response.context_data['wizard']['form'] - - self.assertNotEqual(formset.queryset, None) - self.assertEqual(formset.initial_form_count(), 1) - self.assertEqual(['staff@example.com'], - list(formset.queryset.values_list('email', flat=True))) - - -class WizardInlineFormSetTests(TestCase): - def setUp(self): - self.rf = RequestFactory() - self.poet = Poet.objects.create(name='test') - self.poem = self.poet.poem_set.create(name='test poem') - - def test_set_instance(self): - # Regression test for #21259 - poet = self.poet - - class InlineFormSetWizard(CookieWizardView): - instance = None - - def get_form_instance(self, step): - if self.instance is None: - self.instance = poet - return self.instance - - view = InlineFormSetWizard.as_view([PoemFormSet]) - response = view(self.rf.get('/')) - formset = response.context_data['wizard']['form'] - self.assertEqual(formset.instance, self.poet) diff --git a/django/contrib/formtools/tests/wizard/wizardtests/urls.py b/django/contrib/formtools/tests/wizard/wizardtests/urls.py deleted file mode 100644 index 300ac136aa..0000000000 --- a/django/contrib/formtools/tests/wizard/wizardtests/urls.py +++ /dev/null @@ -1,22 +0,0 @@ -from django.conf.urls import url -from django.contrib.formtools.tests.wizard.wizardtests.forms import ( - SessionContactWizard, CookieContactWizard, Page1, Page2, Page3, Page4) - -urlpatterns = [ - url(r'^wiz_session/$', SessionContactWizard.as_view( - [('form1', Page1), - ('form2', Page2), - ('form3', Page3), - ('form4', Page4)])), - url(r'^wiz_cookie/$', CookieContactWizard.as_view( - [('form1', Page1), - ('form2', Page2), - ('form3', Page3), - ('form4', Page4)])), - url(r'^wiz_other_template/$', CookieContactWizard.as_view( - [('form1', Page1), - ('form2', Page2), - ('form3', Page3), - ('form4', Page4)], - template_name='other_wizard_form.html')), -] diff --git a/django/contrib/formtools/utils.py b/django/contrib/formtools/utils.py deleted file mode 100644 index 76277c6b49..0000000000 --- a/django/contrib/formtools/utils.py +++ /dev/null @@ -1,28 +0,0 @@ -from __future__ import unicode_literals - -# Do not try cPickle here (see #18340) -import pickle - -from django.utils.crypto import salted_hmac -from django.utils import six - - -def form_hmac(form): - """ - Calculates a security hash for the given Form instance. - """ - data = [] - for bf in form: - # Get the value from the form data. If the form allows empty or hasn't - # changed then don't call clean() to avoid trigger validation errors. - if form.empty_permitted and not form.has_changed(): - value = bf.data or '' - else: - value = bf.field.clean(bf.data) or '' - if isinstance(value, six.string_types): - value = value.strip() - data.append((bf.name, value)) - - pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL) - key_salt = 'django.contrib.formtools' - return salted_hmac(key_salt, pickled).hexdigest() diff --git a/django/contrib/formtools/wizard/__init__.py b/django/contrib/formtools/wizard/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/formtools/wizard/forms.py b/django/contrib/formtools/wizard/forms.py deleted file mode 100644 index cd00517fa3..0000000000 --- a/django/contrib/formtools/wizard/forms.py +++ /dev/null @@ -1,8 +0,0 @@ -from django import forms - - -class ManagementForm(forms.Form): - """ - ``ManagementForm`` is used to keep track of the current wizard step. - """ - current_step = forms.CharField(widget=forms.HiddenInput) diff --git a/django/contrib/formtools/wizard/storage/__init__.py b/django/contrib/formtools/wizard/storage/__init__.py deleted file mode 100644 index 71a21f89a3..0000000000 --- a/django/contrib/formtools/wizard/storage/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -from django.utils.module_loading import import_string - -from django.contrib.formtools.wizard.storage.base import BaseStorage -from django.contrib.formtools.wizard.storage.exceptions import ( - MissingStorage, NoFileStorageConfigured) - -__all__ = [ - "BaseStorage", "MissingStorage", "NoFileStorageConfigured", "get_storage", -] - - -def get_storage(path, *args, **kwargs): - try: - storage_class = import_string(path) - except ImportError as e: - raise MissingStorage('Error loading storage: %s' % e) - return storage_class(*args, **kwargs) diff --git a/django/contrib/formtools/wizard/storage/base.py b/django/contrib/formtools/wizard/storage/base.py deleted file mode 100644 index a0c0ac0658..0000000000 --- a/django/contrib/formtools/wizard/storage/base.py +++ /dev/null @@ -1,130 +0,0 @@ -from django.core.files.uploadedfile import UploadedFile -from django.utils.datastructures import MultiValueDict -from django.utils.functional import lazy_property -from django.utils import six - -from django.contrib.formtools.wizard.storage.exceptions import NoFileStorageConfigured - - -class BaseStorage(object): - step_key = 'step' - step_data_key = 'step_data' - step_files_key = 'step_files' - extra_data_key = 'extra_data' - - def __init__(self, prefix, request=None, file_storage=None): - self.prefix = 'wizard_%s' % prefix - self.request = request - self.file_storage = file_storage - self._files = {} - self._tmp_files = [] - - def init_data(self): - self.data = { - self.step_key: None, - self.step_data_key: {}, - self.step_files_key: {}, - self.extra_data_key: {}, - } - - def reset(self): - # Store unused temporary file names in order to delete them - # at the end of the response cycle through a callback attached in - # `update_response`. - wizard_files = self.data[self.step_files_key] - for step_files in six.itervalues(wizard_files): - for step_file in six.itervalues(step_files): - self._tmp_files.append(step_file['tmp_name']) - self.init_data() - - def _get_current_step(self): - return self.data[self.step_key] - - def _set_current_step(self, step): - self.data[self.step_key] = step - - current_step = lazy_property(_get_current_step, _set_current_step) - - def _get_extra_data(self): - return self.data[self.extra_data_key] - - def _set_extra_data(self, extra_data): - self.data[self.extra_data_key] = extra_data - - extra_data = lazy_property(_get_extra_data, _set_extra_data) - - def get_step_data(self, step): - # When reading the serialized data, upconvert it to a MultiValueDict, - # some serializers (json) don't preserve the type of the object. - values = self.data[self.step_data_key].get(step, None) - if values is not None: - values = MultiValueDict(values) - return values - - def set_step_data(self, step, cleaned_data): - # If the value is a MultiValueDict, convert it to a regular dict of the - # underlying contents. Some serializers call the public API on it (as - # opposed to the underlying dict methods), in which case the content - # can be truncated (__getitem__ returns only the first item). - if isinstance(cleaned_data, MultiValueDict): - cleaned_data = dict(cleaned_data.lists()) - self.data[self.step_data_key][step] = cleaned_data - - @property - def current_step_data(self): - return self.get_step_data(self.current_step) - - def get_step_files(self, step): - wizard_files = self.data[self.step_files_key].get(step, {}) - - if wizard_files and not self.file_storage: - raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") - - files = {} - for field, field_dict in six.iteritems(wizard_files): - field_dict = field_dict.copy() - tmp_name = field_dict.pop('tmp_name') - if (step, field) not in self._files: - self._files[(step, field)] = UploadedFile( - file=self.file_storage.open(tmp_name), **field_dict) - files[field] = self._files[(step, field)] - return files or None - - def set_step_files(self, step, files): - if files and not self.file_storage: - raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") - - if step not in self.data[self.step_files_key]: - self.data[self.step_files_key][step] = {} - - for field, field_file in six.iteritems(files or {}): - tmp_filename = self.file_storage.save(field_file.name, field_file) - file_dict = { - 'tmp_name': tmp_filename, - 'name': field_file.name, - 'content_type': field_file.content_type, - 'size': field_file.size, - 'charset': field_file.charset - } - self.data[self.step_files_key][step][field] = file_dict - - @property - def current_step_files(self): - return self.get_step_files(self.current_step) - - def update_response(self, response): - def post_render_callback(response): - for file in self._files.values(): - if not file.closed: - file.close() - for tmp_file in self._tmp_files: - self.file_storage.delete(tmp_file) - - if hasattr(response, 'render'): - response.add_post_render_callback(post_render_callback) - else: - post_render_callback(response) diff --git a/django/contrib/formtools/wizard/storage/cookie.py b/django/contrib/formtools/wizard/storage/cookie.py deleted file mode 100644 index c05741c2ac..0000000000 --- a/django/contrib/formtools/wizard/storage/cookie.py +++ /dev/null @@ -1,26 +0,0 @@ -import json - -from django.contrib.formtools.wizard import storage - - -class CookieStorage(storage.BaseStorage): - encoder = json.JSONEncoder(separators=(',', ':')) - - def __init__(self, *args, **kwargs): - super(CookieStorage, self).__init__(*args, **kwargs) - self.data = self.load_data() - if self.data is None: - self.init_data() - - def load_data(self): - data = self.request.get_signed_cookie(self.prefix, default=None) - if data is None: - return None - return json.loads(data, cls=json.JSONDecoder) - - def update_response(self, response): - super(CookieStorage, self).update_response(response) - if self.data: - response.set_signed_cookie(self.prefix, self.encoder.encode(self.data)) - else: - response.delete_cookie(self.prefix) diff --git a/django/contrib/formtools/wizard/storage/exceptions.py b/django/contrib/formtools/wizard/storage/exceptions.py deleted file mode 100644 index 31cea93ba8..0000000000 --- a/django/contrib/formtools/wizard/storage/exceptions.py +++ /dev/null @@ -1,9 +0,0 @@ -from django.core.exceptions import ImproperlyConfigured - - -class MissingStorage(ImproperlyConfigured): - pass - - -class NoFileStorageConfigured(ImproperlyConfigured): - pass diff --git a/django/contrib/formtools/wizard/storage/session.py b/django/contrib/formtools/wizard/storage/session.py deleted file mode 100644 index 9cfae50ca0..0000000000 --- a/django/contrib/formtools/wizard/storage/session.py +++ /dev/null @@ -1,19 +0,0 @@ -from django.contrib.formtools.wizard import storage - - -class SessionStorage(storage.BaseStorage): - - def __init__(self, *args, **kwargs): - super(SessionStorage, self).__init__(*args, **kwargs) - if self.prefix not in self.request.session: - self.init_data() - - def _get_data(self): - self.request.session.modified = True - return self.request.session[self.prefix] - - def _set_data(self, value): - self.request.session[self.prefix] = value - self.request.session.modified = True - - data = property(_get_data, _set_data) diff --git a/django/contrib/formtools/wizard/views.py b/django/contrib/formtools/wizard/views.py deleted file mode 100644 index 46bd309662..0000000000 --- a/django/contrib/formtools/wizard/views.py +++ /dev/null @@ -1,732 +0,0 @@ -from collections import OrderedDict -import re - -from django import forms -from django.shortcuts import redirect -from django.core.urlresolvers import reverse -from django.forms import formsets, ValidationError -from django.views.generic import TemplateView -from django.utils.decorators import classonlymethod -from django.utils.translation import ugettext as _ -from django.utils import six - -from django.contrib.formtools.wizard.storage import get_storage -from django.contrib.formtools.wizard.storage.exceptions import NoFileStorageConfigured -from django.contrib.formtools.wizard.forms import ManagementForm - - -def normalize_name(name): - """ - Converts camel-case style names into underscore separated words. Example:: - - >>> normalize_name('oneTwoThree') - 'one_two_three' - >>> normalize_name('FourFiveSix') - 'four_five_six' - - """ - new = re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', '_\\1', name) - return new.lower().strip('_') - - -class StepsHelper(object): - - def __init__(self, wizard): - self._wizard = wizard - - def __dir__(self): - return self.all - - def __len__(self): - return self.count - - def __repr__(self): - return '' % (self._wizard, self.all) - - @property - def all(self): - "Returns the names of all steps/forms." - return list(self._wizard.get_form_list()) - - @property - def count(self): - "Returns the total number of steps/forms in this the wizard." - return len(self.all) - - @property - def current(self): - """ - Returns the current step. If no current step is stored in the - storage backend, the first step will be returned. - """ - return self._wizard.storage.current_step or self.first - - @property - def first(self): - "Returns the name of the first step." - return self.all[0] - - @property - def last(self): - "Returns the name of the last step." - return self.all[-1] - - @property - def next(self): - "Returns the next step." - return self._wizard.get_next_step() - - @property - def prev(self): - "Returns the previous step." - return self._wizard.get_prev_step() - - @property - def index(self): - "Returns the index for the current step." - return self._wizard.get_step_index() - - @property - def step0(self): - return int(self.index) - - @property - def step1(self): - return int(self.index) + 1 - - -class WizardView(TemplateView): - """ - The WizardView is used to create multi-page forms and handles all the - storage and validation stuff. The wizard is based on Django's generic - class based views. - """ - storage_name = None - form_list = None - initial_dict = None - instance_dict = None - condition_dict = None - template_name = 'formtools/wizard/wizard_form.html' - - def __repr__(self): - return '<%s: forms: %s>' % (self.__class__.__name__, self.form_list) - - @classonlymethod - def as_view(cls, *args, **kwargs): - """ - This method is used within urls.py to create unique wizardview - instances for every request. We need to override this method because - we add some kwargs which are needed to make the wizardview usable. - """ - initkwargs = cls.get_initkwargs(*args, **kwargs) - return super(WizardView, cls).as_view(**initkwargs) - - @classmethod - def get_initkwargs(cls, form_list=None, initial_dict=None, - instance_dict=None, condition_dict=None, *args, **kwargs): - """ - Creates a dict with all needed parameters for the form wizard instances. - - * `form_list` - is a list of forms. The list entries can be single form - classes or tuples of (`step_name`, `form_class`). If you pass a list - of forms, the wizardview will convert the class list to - (`zero_based_counter`, `form_class`). This is needed to access the - form for a specific step. - * `initial_dict` - contains a dictionary of initial data dictionaries. - The key should be equal to the `step_name` in the `form_list` (or - the str of the zero based counter - if no step_names added in the - `form_list`) - * `instance_dict` - contains a dictionary whose values are model - instances if the step is based on a ``ModelForm`` and querysets if - the step is based on a ``ModelFormSet``. The key should be equal to - the `step_name` in the `form_list`. Same rules as for `initial_dict` - apply. - * `condition_dict` - contains a dictionary of boolean values or - callables. If the value of for a specific `step_name` is callable it - will be called with the wizardview instance as the only argument. - If the return value is true, the step's form will be used. - """ - - kwargs.update({ - 'initial_dict': initial_dict or kwargs.pop('initial_dict', - getattr(cls, 'initial_dict', None)) or {}, - 'instance_dict': instance_dict or kwargs.pop('instance_dict', - getattr(cls, 'instance_dict', None)) or {}, - 'condition_dict': condition_dict or kwargs.pop('condition_dict', - getattr(cls, 'condition_dict', None)) or {} - }) - - form_list = form_list or kwargs.pop('form_list', - getattr(cls, 'form_list', None)) or [] - - computed_form_list = OrderedDict() - - assert len(form_list) > 0, 'at least one form is needed' - - # walk through the passed form list - for i, form in enumerate(form_list): - if isinstance(form, (list, tuple)): - # if the element is a tuple, add the tuple to the new created - # sorted dictionary. - computed_form_list[six.text_type(form[0])] = form[1] - else: - # if not, add the form with a zero based counter as unicode - computed_form_list[six.text_type(i)] = form - - # walk through the new created list of forms - for form in six.itervalues(computed_form_list): - if issubclass(form, formsets.BaseFormSet): - # if the element is based on BaseFormSet (FormSet/ModelFormSet) - # we need to override the form variable. - form = form.form - # check if any form contains a FileField, if yes, we need a - # file_storage added to the wizardview (by subclassing). - for field in six.itervalues(form.base_fields): - if (isinstance(field, forms.FileField) and - not hasattr(cls, 'file_storage')): - raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") - - # build the kwargs for the wizardview instances - kwargs['form_list'] = computed_form_list - return kwargs - - def get_prefix(self, *args, **kwargs): - # TODO: Add some kind of unique id to prefix - return normalize_name(self.__class__.__name__) - - def get_form_list(self): - """ - This method returns a form_list based on the initial form list but - checks if there is a condition method/value in the condition_list. - If an entry exists in the condition list, it will call/read the value - and respect the result. (True means add the form, False means ignore - the form) - - The form_list is always generated on the fly because condition methods - could use data from other (maybe previous forms). - """ - form_list = OrderedDict() - for form_key, form_class in six.iteritems(self.form_list): - # try to fetch the value from condition list, by default, the form - # gets passed to the new list. - condition = self.condition_dict.get(form_key, True) - if callable(condition): - # call the value if needed, passes the current instance. - condition = condition(self) - if condition: - form_list[form_key] = form_class - return form_list - - def dispatch(self, request, *args, **kwargs): - """ - This method gets called by the routing engine. The first argument is - `request` which contains a `HttpRequest` instance. - The request is stored in `self.request` for later use. The storage - instance is stored in `self.storage`. - - After processing the request using the `dispatch` method, the - response gets updated by the storage engine (for example add cookies). - """ - # add the storage engine to the current wizardview instance - self.prefix = self.get_prefix(*args, **kwargs) - self.storage = get_storage(self.storage_name, self.prefix, request, - getattr(self, 'file_storage', None)) - self.steps = StepsHelper(self) - response = super(WizardView, self).dispatch(request, *args, **kwargs) - - # update the response (e.g. adding cookies) - self.storage.update_response(response) - return response - - def get(self, request, *args, **kwargs): - """ - This method handles GET requests. - - If a GET request reaches this point, the wizard assumes that the user - just starts at the first step or wants to restart the process. - The data of the wizard will be resetted before rendering the first step. - """ - self.storage.reset() - - # reset the current step to the first step. - self.storage.current_step = self.steps.first - return self.render(self.get_form()) - - def post(self, *args, **kwargs): - """ - This method handles POST requests. - - The wizard will render either the current step (if form validation - wasn't successful), the next step (if the current step was stored - successful) or the done view (if no more steps are available) - """ - # Look for a wizard_goto_step element in the posted data which - # contains a valid step name. If one was found, render the requested - # form. (This makes stepping back a lot easier). - wizard_goto_step = self.request.POST.get('wizard_goto_step', None) - if wizard_goto_step and wizard_goto_step in self.get_form_list(): - return self.render_goto_step(wizard_goto_step) - - # Check if form was refreshed - management_form = ManagementForm(self.request.POST, prefix=self.prefix) - if not management_form.is_valid(): - raise ValidationError( - _('ManagementForm data is missing or has been tampered.'), - code='missing_management_form', - ) - - form_current_step = management_form.cleaned_data['current_step'] - if (form_current_step != self.steps.current and - self.storage.current_step is not None): - # form refreshed, change current step - self.storage.current_step = form_current_step - - # get the form for the current step - form = self.get_form(data=self.request.POST, files=self.request.FILES) - - # and try to validate - if form.is_valid(): - # if the form is valid, store the cleaned data and files. - self.storage.set_step_data(self.steps.current, self.process_step(form)) - self.storage.set_step_files(self.steps.current, self.process_step_files(form)) - - # check if the current step is the last step - if self.steps.current == self.steps.last: - # no more steps, render done view - return self.render_done(form, **kwargs) - else: - # proceed to the next step - return self.render_next_step(form) - return self.render(form) - - def render_next_step(self, form, **kwargs): - """ - This method gets called when the next step/form should be rendered. - `form` contains the last/current form. - """ - # get the form instance based on the data from the storage backend - # (if available). - next_step = self.steps.next - new_form = self.get_form(next_step, - data=self.storage.get_step_data(next_step), - files=self.storage.get_step_files(next_step)) - - # change the stored current step - self.storage.current_step = next_step - return self.render(new_form, **kwargs) - - def render_goto_step(self, goto_step, **kwargs): - """ - This method gets called when the current step has to be changed. - `goto_step` contains the requested step to go to. - """ - self.storage.current_step = goto_step - form = self.get_form( - data=self.storage.get_step_data(self.steps.current), - files=self.storage.get_step_files(self.steps.current)) - return self.render(form) - - def render_done(self, form, **kwargs): - """ - This method gets called when all forms passed. The method should also - re-validate all steps to prevent manipulation. If any form fails to - validate, `render_revalidation_failure` should get called. - If everything is fine call `done`. - """ - final_forms = OrderedDict() - # walk through the form list and try to validate the data again. - for form_key in self.get_form_list(): - form_obj = self.get_form(step=form_key, - data=self.storage.get_step_data(form_key), - files=self.storage.get_step_files(form_key)) - if not form_obj.is_valid(): - return self.render_revalidation_failure(form_key, form_obj, **kwargs) - final_forms[form_key] = form_obj - - # render the done view and reset the wizard before returning the - # response. This is needed to prevent from rendering done with the - # same data twice. - done_response = self.done(final_forms.values(), form_dict=final_forms, **kwargs) - self.storage.reset() - return done_response - - def get_form_prefix(self, step=None, form=None): - """ - Returns the prefix which will be used when calling the actual form for - the given step. `step` contains the step-name, `form` the form which - will be called with the returned prefix. - - If no step is given, the form_prefix will determine the current step - automatically. - """ - if step is None: - step = self.steps.current - return str(step) - - def get_form_initial(self, step): - """ - Returns a dictionary which will be passed to the form for `step` - as `initial`. If no initial data was provided while initializing the - form wizard, an empty dictionary will be returned. - """ - return self.initial_dict.get(step, {}) - - def get_form_instance(self, step): - """ - Returns an object which will be passed to the form for `step` - as `instance`. If no instance object was provided while initializing - the form wizard, None will be returned. - """ - return self.instance_dict.get(step, None) - - def get_form_kwargs(self, step=None): - """ - Returns the keyword arguments for instantiating the form - (or formset) on the given step. - """ - return {} - - def get_form(self, step=None, data=None, files=None): - """ - Constructs the form for a given `step`. If no `step` is defined, the - current step will be determined automatically. - - The form will be initialized using the `data` argument to prefill the - new form. If needed, instance or queryset (for `ModelForm` or - `ModelFormSet`) will be added too. - """ - if step is None: - step = self.steps.current - form_class = self.form_list[step] - # prepare the kwargs for the form instance. - kwargs = self.get_form_kwargs(step) - kwargs.update({ - 'data': data, - 'files': files, - 'prefix': self.get_form_prefix(step, form_class), - 'initial': self.get_form_initial(step), - }) - if issubclass(form_class, (forms.ModelForm, forms.models.BaseInlineFormSet)): - # If the form is based on ModelForm or InlineFormSet, - # add instance if available and not previously set. - kwargs.setdefault('instance', self.get_form_instance(step)) - elif issubclass(form_class, forms.models.BaseModelFormSet): - # If the form is based on ModelFormSet, add queryset if available - # and not previous set. - kwargs.setdefault('queryset', self.get_form_instance(step)) - return form_class(**kwargs) - - def process_step(self, form): - """ - This method is used to postprocess the form data. By default, it - returns the raw `form.data` dictionary. - """ - return self.get_form_step_data(form) - - def process_step_files(self, form): - """ - This method is used to postprocess the form files. By default, it - returns the raw `form.files` dictionary. - """ - return self.get_form_step_files(form) - - def render_revalidation_failure(self, step, form, **kwargs): - """ - Gets called when a form doesn't validate when rendering the done - view. By default, it changes the current step to failing forms step - and renders the form. - """ - self.storage.current_step = step - return self.render(form, **kwargs) - - def get_form_step_data(self, form): - """ - Is used to return the raw form data. You may use this method to - manipulate the data. - """ - return form.data - - def get_form_step_files(self, form): - """ - Is used to return the raw form files. You may use this method to - manipulate the data. - """ - return form.files - - def get_all_cleaned_data(self): - """ - Returns a merged dictionary of all step cleaned_data dictionaries. - If a step contains a `FormSet`, the key will be prefixed with - 'formset-' and contain a list of the formset cleaned_data dictionaries. - """ - cleaned_data = {} - for form_key in self.get_form_list(): - form_obj = self.get_form( - step=form_key, - data=self.storage.get_step_data(form_key), - files=self.storage.get_step_files(form_key) - ) - if form_obj.is_valid(): - if isinstance(form_obj.cleaned_data, (tuple, list)): - cleaned_data.update({ - 'formset-%s' % form_key: form_obj.cleaned_data - }) - else: - cleaned_data.update(form_obj.cleaned_data) - return cleaned_data - - def get_cleaned_data_for_step(self, step): - """ - Returns the cleaned data for a given `step`. Before returning the - cleaned data, the stored values are revalidated through the form. - If the data doesn't validate, None will be returned. - """ - if step in self.form_list: - form_obj = self.get_form(step=step, - data=self.storage.get_step_data(step), - files=self.storage.get_step_files(step)) - if form_obj.is_valid(): - return form_obj.cleaned_data - return None - - def get_next_step(self, step=None): - """ - Returns the next step after the given `step`. If no more steps are - available, None will be returned. If the `step` argument is None, the - current step will be determined automatically. - """ - if step is None: - step = self.steps.current - form_list = self.get_form_list() - keys = list(form_list.keys()) - key = keys.index(step) + 1 - if len(keys) > key: - return keys[key] - return None - - def get_prev_step(self, step=None): - """ - Returns the previous step before the given `step`. If there are no - steps available, None will be returned. If the `step` argument is - None, the current step will be determined automatically. - """ - if step is None: - step = self.steps.current - form_list = self.get_form_list() - keys = list(form_list.keys()) - key = keys.index(step) - 1 - if key >= 0: - return keys[key] - return None - - def get_step_index(self, step=None): - """ - Returns the index for the given `step` name. If no step is given, - the current step will be used to get the index. - """ - if step is None: - step = self.steps.current - return list(self.get_form_list().keys()).index(step) - - def get_context_data(self, form, **kwargs): - """ - Returns the template context for a step. You can overwrite this method - to add more data for all or some steps. This method returns a - dictionary containing the rendered form step. Available template - context variables are: - - * all extra data stored in the storage backend - * `wizard` - a dictionary representation of the wizard instance - - Example:: - - class MyWizard(WizardView): - def get_context_data(self, form, **kwargs): - context = super(MyWizard, self).get_context_data(form=form, **kwargs) - if self.steps.current == 'my_step_name': - context.update({'another_var': True}) - return context - """ - context = super(WizardView, self).get_context_data(form=form, **kwargs) - context.update(self.storage.extra_data) - context['wizard'] = { - 'form': form, - 'steps': self.steps, - 'management_form': ManagementForm(prefix=self.prefix, initial={ - 'current_step': self.steps.current, - }), - } - return context - - def render(self, form=None, **kwargs): - """ - Returns a ``HttpResponse`` containing all needed context data. - """ - form = form or self.get_form() - context = self.get_context_data(form=form, **kwargs) - return self.render_to_response(context) - - def done(self, form_list, **kwargs): - """ - This method must be overridden by a subclass to process to form data - after processing all steps. - """ - raise NotImplementedError("Your %s class has not defined a done() " - "method, which is required." % self.__class__.__name__) - - -class SessionWizardView(WizardView): - """ - A WizardView with pre-configured SessionStorage backend. - """ - storage_name = 'django.contrib.formtools.wizard.storage.session.SessionStorage' - - -class CookieWizardView(WizardView): - """ - A WizardView with pre-configured CookieStorage backend. - """ - storage_name = 'django.contrib.formtools.wizard.storage.cookie.CookieStorage' - - -class NamedUrlWizardView(WizardView): - """ - A WizardView with URL named steps support. - """ - url_name = None - done_step_name = None - - @classmethod - def get_initkwargs(cls, *args, **kwargs): - """ - We require a url_name to reverse URLs later. Additionally users can - pass a done_step_name to change the URL name of the "done" view. - """ - assert 'url_name' in kwargs, 'URL name is needed to resolve correct wizard URLs' - extra_kwargs = { - 'done_step_name': kwargs.pop('done_step_name', 'done'), - 'url_name': kwargs.pop('url_name'), - } - initkwargs = super(NamedUrlWizardView, cls).get_initkwargs(*args, **kwargs) - initkwargs.update(extra_kwargs) - - assert initkwargs['done_step_name'] not in initkwargs['form_list'], \ - 'step name "%s" is reserved for "done" view' % initkwargs['done_step_name'] - return initkwargs - - def get_step_url(self, step): - return reverse(self.url_name, kwargs={'step': step}) - - def get(self, *args, **kwargs): - """ - This renders the form or, if needed, does the http redirects. - """ - step_url = kwargs.get('step', None) - if step_url is None: - if 'reset' in self.request.GET: - self.storage.reset() - self.storage.current_step = self.steps.first - if self.request.GET: - query_string = "?%s" % self.request.GET.urlencode() - else: - query_string = "" - return redirect(self.get_step_url(self.steps.current) - + query_string) - - # is the current step the "done" name/view? - elif step_url == self.done_step_name: - last_step = self.steps.last - return self.render_done(self.get_form(step=last_step, - data=self.storage.get_step_data(last_step), - files=self.storage.get_step_files(last_step) - ), **kwargs) - - # is the url step name not equal to the step in the storage? - # if yes, change the step in the storage (if name exists) - elif step_url == self.steps.current: - # URL step name and storage step name are equal, render! - return self.render(self.get_form( - data=self.storage.current_step_data, - files=self.storage.current_step_files, - ), **kwargs) - - elif step_url in self.get_form_list(): - self.storage.current_step = step_url - return self.render(self.get_form( - data=self.storage.current_step_data, - files=self.storage.current_step_files, - ), **kwargs) - - # invalid step name, reset to first and redirect. - else: - self.storage.current_step = self.steps.first - return redirect(self.get_step_url(self.steps.first)) - - def post(self, *args, **kwargs): - """ - Do a redirect if user presses the prev. step button. The rest of this - is super'd from WizardView. - """ - wizard_goto_step = self.request.POST.get('wizard_goto_step', None) - if wizard_goto_step and wizard_goto_step in self.get_form_list(): - return self.render_goto_step(wizard_goto_step) - return super(NamedUrlWizardView, self).post(*args, **kwargs) - - def get_context_data(self, form, **kwargs): - """ - NamedUrlWizardView provides the url_name of this wizard in the context - dict `wizard`. - """ - context = super(NamedUrlWizardView, self).get_context_data(form=form, **kwargs) - context['wizard']['url_name'] = self.url_name - return context - - def render_next_step(self, form, **kwargs): - """ - When using the NamedUrlWizardView, we have to redirect to update the - browser's URL to match the shown step. - """ - next_step = self.get_next_step() - self.storage.current_step = next_step - return redirect(self.get_step_url(next_step)) - - def render_goto_step(self, goto_step, **kwargs): - """ - This method gets called when the current step has to be changed. - `goto_step` contains the requested step to go to. - """ - self.storage.current_step = goto_step - return redirect(self.get_step_url(goto_step)) - - def render_revalidation_failure(self, failed_step, form, **kwargs): - """ - When a step fails, we have to redirect the user to the first failing - step. - """ - self.storage.current_step = failed_step - return redirect(self.get_step_url(failed_step)) - - def render_done(self, form, **kwargs): - """ - When rendering the done view, we have to redirect first (if the URL - name doesn't fit). - """ - if kwargs.get('step', None) != self.done_step_name: - return redirect(self.get_step_url(self.done_step_name)) - return super(NamedUrlWizardView, self).render_done(form, **kwargs) - - -class NamedUrlSessionWizardView(NamedUrlWizardView): - """ - A NamedUrlWizardView with pre-configured SessionStorage backend. - """ - storage_name = 'django.contrib.formtools.wizard.storage.session.SessionStorage' - - -class NamedUrlCookieWizardView(NamedUrlWizardView): - """ - A NamedUrlFormWizard with pre-configured CookieStorageBackend. - """ - storage_name = 'django.contrib.formtools.wizard.storage.cookie.CookieStorage'