New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localflavor Sri Lanka: Support for Sri Lanka added in django-localflavor #493
base: master
Are you sure you want to change the base?
Conversation
docs/changelog.rst
Outdated
@@ -27,6 +27,8 @@ Other changes: | |||
|
|||
New flavors: | |||
|
|||
- Sri Lanka LocalFlavor: Support for Sri Lanka added | |||
(`gh-493 <https://github.com/django/django-localflavor/pull/493>`_). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not add any entry in notes of an already-released version. Please move that note above in the unreleased section.
For the rest, it looks rather good, and I hope @benkonrath will have the opportunity to make a detailed review during the next weeks. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I will make that change. I wasn't aware of it before.
**Support for Sri Lanka Added as requested by this issue #491 **
What Fields are added ?
All Changes
Add an entry to the docs/changelog.rst describing the change.
Add an entry for your name in the docs/authors.rst file if it's not
already there.
New Fields Only
Prefix the country code to all fields.
Field names should be easily understood by developers from the target
localflavor country. This means that English translations are usually
not the best name unless it's for something standard like postal code,
tax / VAT ID etc.
Prefer 'PostalCodeField' for postal codes as it's
international English; ZipCode is a term specific to the United
States postal system.
Add meaningful tests. 100% test coverage is not required but all
validation edge cases should be covered.
Add
.. versionadded:: <next-version>
comment markers to newlocalflavors.
Add documentation for all fields.