django-countries Questions

2

Solved

I'm using Django 2.x. I have a model user_setting which have foreign Key to Country model which was created under address module. Now, I'm using djanog-countries-plus to add Country data and thus...
Decker asked 17/11, 2018 at 18:36

3

Solved

I know there are several questions asked like this (such as this one), but non of them could help me with my problem. I wanna have a City and a Country field in my models, which the City choices i...
Antitrust asked 1/10, 2016 at 12:25

1

I am trying to get the a CountryField (django-countries package) serialized, but my JSON does not show all the available countries. I read here django_countries in django rest framework on what the...

1

I am trying to create an API which can return all the countries using django_countries. I am trying something following but it is not working. As an individual field, it works fine but with comple...
Torsk asked 18/11, 2016 at 4:20

2

Solved

I'm using django-cities-light (lighter version of django-cities) with Django 1.8.x. It defines the abstract models of Country, Region/State and City, so that we can extend and add custom fields. Fo...
Prophylactic asked 16/6, 2015 at 10:30

3

I am using django_countries module for countries list, the problem is there are couple of countries with special characters like 'Åland Islands' and 'Saint Barthélemy'. I am calling this method to...
Psittacosis asked 4/6, 2015 at 7:44

3

Solved

I am using django_countries to show the countries list. Now, I have a requirement where I need to show currency according to country. Norway - NOK, Europe & Afrika (besides UK) - EUR, UK - GBP...
Revolution asked 31/7, 2013 at 9:28
1

© 2022 - 2024 — McMap. All rights reserved.