{ "info": { "author": "Marek Kuziel", "author_email": "marek@kuziel.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "=====================\ndjango_localflavor_nz\n=====================\n\nCountry-specific Django helpers for New Zealand.\n\n\nWhat's in the New Zealand localflavor?\n======================================\n\n* forms.NZRegionSelect - a ``Select`` widget \n with a list of New Zealand regions.\n\n* forms.NZProvinceSelect - a ``Select`` widget \n with a list of New Zealand provinces.\n\n* forms.NZNorthIslandSelect - a ``Select`` widget \n with a list of Norh Island city and district councils.\n\n* forms.NZSouthIslandSelect - a ``Select`` widget \n with a list of South Island city and district councils.\n\n* forms.NZPostCodeField - a form field that validates input \n as a New Zealand postal code. Valid format is XXXX, where X is a digit.\n\n* forms.NZPhoneNumberField - a form field that validates input \n as a New Zealand phone number. Validates local and international land line\n and mobile numbers just as well as 0800 number validation.\n\n* forms.NZBankAccountNumberField - a form field that validates input\n as a New Zealand bank account number. Validates the format XX-XXXX-XXXXXXX-XX(X).\n When strict checking is enabled the bank ID part of account number is validatedm too. \n\nSee the source code for full details.\n\nNZ specific ``settings``\n------------------------\n\n* ``LOCALFLAVOR_NZ_STRICT`` defaults to ``False``. Add it to your ``settings`` \n if you want to enable strict validation. Currently, if set to ``True``,\n ``NZBankAccountNumberField`` will also validate if given bank account number's\n bank id is one of the valid ones. See ``django_localflavor_nz.forms.BANK_IDS``\n for full list of valid bank IDs.\n\n\nAbout django-localflavor-nz\n===========================\n\n``django_localflavor_nz`` package was created by Marek Kuziel, because\nNew Zealand \"localflavor\" didn't make it to Django before \n``django.contrib.localflavor`` was deprecated in Django 1.5.\n\nInstallation\n------------\n\nInstall the package ``easy_install django-localflavor_nz`` or \n``pip install django-localflavor_nz``.\n\nAdd ``django_localflavor_nz`` to ``INSTALLED_APPS`` in your ``settings``.\n\nTesting\n-------\n\n``django test django_localflavor_nz`` will run the tests for this localflavor.\n\n\nAbout localflavors\n==================\n\nDjango's localflavor packages offer additional functionality for particular\ncountries or cultures.\n\nFor example, these might include form fields for your country's postal codes,\nphone number formats or government ID numbers.\n\nThe localflavors code used to live in Django proper -- in django.contrib.localflavor -- \nbut was separated into standalone packages in Django 1.5 to keep the framework's core clean.\n\nFor other localflavor packages, see https://github.com/django/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/markuz/django-localflavor-nz", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-localflavor-nz", "package_url": "https://pypi.org/project/django-localflavor-nz/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-localflavor-nz/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/markuz/django-localflavor-nz" }, "release_url": "https://pypi.org/project/django-localflavor-nz/1.1/", "requires_dist": null, "requires_python": null, "summary": "Country-specific Django helpers for New Zealand.", "version": "1.1" }, "last_serial": 789993, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a42697c8431752abc450fff5c22554e5", "sha256": "8a6832707184c78f8b4e03b34851404ab5fa5dbb050e76aa023383901de88db0" }, "downloads": -1, "filename": "django-localflavor-nz-1.0.tar.gz", "has_sig": false, "md5_digest": "a42697c8431752abc450fff5c22554e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5746, "upload_time": "2013-05-13T11:05:30", "url": "https://files.pythonhosted.org/packages/76/3e/6a86826a8955a5b2d073849b163f45ce108bcf5ace8b69dc7018c0369263/django-localflavor-nz-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "39b3ddc05f128ebc3ff20814e7f8b6f3", "sha256": "26c4192bc1c3d2b60f5b5e2d49945730e5fb86b597cb3e6cb66f6cbf4261c6e3" }, "downloads": -1, "filename": "django-localflavor-nz-1.1.tar.gz", "has_sig": false, "md5_digest": "39b3ddc05f128ebc3ff20814e7f8b6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6745, "upload_time": "2013-05-14T23:44:17", "url": "https://files.pythonhosted.org/packages/07/c5/3eec473c18e7b4f970b9ce3c77e141286173f3366cb76e3773351c0fa703/django-localflavor-nz-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39b3ddc05f128ebc3ff20814e7f8b6f3", "sha256": "26c4192bc1c3d2b60f5b5e2d49945730e5fb86b597cb3e6cb66f6cbf4261c6e3" }, "downloads": -1, "filename": "django-localflavor-nz-1.1.tar.gz", "has_sig": false, "md5_digest": "39b3ddc05f128ebc3ff20814e7f8b6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6745, "upload_time": "2013-05-14T23:44:17", "url": "https://files.pythonhosted.org/packages/07/c5/3eec473c18e7b4f970b9ce3c77e141286173f3366cb76e3773351c0fa703/django-localflavor-nz-1.1.tar.gz" } ] }