2

I have problem in Django countries. I install it (over pip), run makemigrations, run migrate, and added on my settings.py django-countries in INSTALLED_APPS

In model file i have:

from django_countries.fields import CountryField
class Server(models.Model):
    country = CountryField()

But when i create new server in django admin, i see empty select. I read this and this, but this manuals do not give us anything new.

Please, tell me, what should I do to make it work?

moveax3
  • 336
  • 1
  • 3
  • 10

1 Answers1

2

Apparently it's a bug in the recent 3.0 release: https://github.com/SmileyChris/django-countries/issues/81

Reverting to 2.1.2 worked for me.

Mike
  • 505
  • 5
  • 13