Skip to content
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

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

skdishansachin
Copy link

@skdishansachin skdishansachin commented Jul 28, 2023

**Support for Sri Lanka Added as requested by this issue #491 **

What Fields are added ?

  • Field for provinces of Sri Lanka.
  • Field for districts of Sri Lanka.
  • Field for Postal Code of Sri Lanka.

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 new
    localflavors.

  • Add documentation for all fields.

@skdishansachin skdishansachin marked this pull request as ready for review July 28, 2023 04:53
docs/changelog.rst Outdated Show resolved Hide resolved
@claudep
Copy link
Member

claudep commented Jun 22, 2024

@benkonrath Do you think you could find some time in the near future to review this request?

@benkonrath
Copy link
Member

@claudep Yeah. I'll try to dedicate a few hours to going through the PR backlog a bit in the next day or two. Thanks for the reminder.

@claudep
Copy link
Member

claudep commented Jun 22, 2024

@skdishansachin Please fix the test failures!

@skdishansachin
Copy link
Author

Okay I will fix those test failures @claudep

@benkonrath
Copy link
Member

@skdishansachin Please fix the tests and then I'll take a look at this PR. I don't know why I have to continually approve the test runs but I'll be quicker about doing this now that I know that they need to approved more than once.

@skdishansachin
Copy link
Author

@benkonrath @claudep Hey, sorry about sending that review request before fixing the issues properly. I'll check it soon when I have time. Thanks!

@benkonrath
Copy link
Member

No problem. There's no direct feedback since I have to approve and run the tests in github CI... and I haven't been on top of that. That makes it harder for you to know that things aren't working correctly. This PR is on my radar now and hopefully we can make some progress soon. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants