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

Narrowing the list of countries to those are used #448

Closed
monikakrawczak opened this issue Mar 4, 2020 · 3 comments · Fixed by #469
Closed

Narrowing the list of countries to those are used #448

monikakrawczak opened this issue Mar 4, 2020 · 3 comments · Fixed by #469
Labels
backend Issues related to backend work

Comments

@monikakrawczak
Copy link
Contributor

In Django Admin:

  1. Create logic for US -> on the list of countries in filters on all views, user sees only those countries, which are currently used in projects (there are at least car, passenger or project from this country).
@monikakrawczak monikakrawczak added the backend Issues related to backend work label Mar 4, 2020
@arturtamborski
Copy link
Member

Can you list the countries that should be available? From what I can tell there is:

  • Ukraine
  • South Sudan
    -???

@arturtamborski
Copy link
Member

arturtamborski commented Mar 5, 2020

Update: we care about these, for now:

  • Ukraine
  • South Sudan
  • Somalia
  • Yemen
  • Iraq
  • Poland

The way it should be developed for now is to list the countries statically, in settings.
https://pypi.org/project/django-countries/#customize-the-country-list

This will later on be improved, but for now we're staying with this option.

@arturtamborski arturtamborski linked a pull request Mar 6, 2020 that will close this issue
@monikakrawczak
Copy link
Contributor Author

New requirements form Ola -> add to the list:

  • Kenia
  • Switzerland (as a country for test purpose)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to backend work
Projects
None yet
2 participants