django-cities icon indicating copy to clipboard operation
django-cities copied to clipboard

Countries and cities of the world for Django projects

Results 30 django-cities issues
Sort by recently updated
recently updated
newest added

Fix for reverting migrations all up to `0001_initial` https://github.com/coderholic/django-cities/issues/198

## Checklist - [x] I have verified that I am using a GIS-enabled database, such as PostGIS or Spatialite. - [x] I have verified that that issue exists against the...

Hi, is it possible to get only the boroughs of a city? Example: berlin = City.objects.filter(name="Berlin")[0] len(District.objects.filter(city=berlin)) This should be 12 but gives me 205 because it includes boroughs and...

Environment: Python 3.6.4 Django 2.0.7 django-cities 0.5.0.6 Ubuntu 16.04 MySQL 5.7 Command: ```bash $ manage.py cities import ``` or ```bash $ manage.py cities --import=district ``` Importing districts will fail with...

## Checklist - [x] I have verified that I am using a GIS-enabled database, such as PostGIS or Spatialite. - [ ] I have verified that that issue exists against...

Needs tests

## Checklist - [x] I have verified that I am using a GIS-enabled database, such as PostGIS or Spatialite. - [x] I have verified that that issue exists against the...

Hi, habe a problem to build a query. I think this kind of query should also be described in the example section of the read me file. I want all...

## Checklist Hello, Is it possible to make relation between cities and regions? Seems `region` field is `None` ## Steps to reproduce ``` In [1]: from cities.models import City In...

Needs feedback

Hi, Are you sure you FK is enough? For example in Germany, cities with same postal code, can exist. I think 2m2 will be better fit. Thanks. https://github.com/coderholic/django-cities/blob/master/cities/models.py#L181

Needs feedback
Feature request

## Checklist - [x] I have verified that I am using a GIS-enabled database, such as PostGIS or Spatialite. - [x] I have verified that that issue exists against the...

Feature request