1. Monwara LLC
  2. Untitled project
  3. django-international
Issue #3 new

add dictionaries

Anonymous created an issue

It would be helpful to add the dictionary versions of countries and currencies. Should be as simple as:

countries_dict = dict(countries) currencies_dict = dict(currencies)

I'd do a pull request but I don't have a bitbucket account and don't really want yet another account on yet another system for the sake of a two line suggestion.

Keep up the good work.

Comments (1)

  1. Branko Vukelic

    The reason dicts aren't provided is precisely that: you can do that in one line of code, and if you do it during initialization, it's not even an expensive line of code. It's also not provided because it's not used within the app. Does that make sense?

  2. Log in to comment