coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
920 stars 374 forks source link

GB Postal Codes #164

Closed phobos1 closed 7 years ago

phobos1 commented 7 years ago

Checklist

Steps to reproduce

Download GB Postal Codes

Expected behavior

Postal Codes match the one of GB formats @# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA

Actual behavior

Postal Codes did not match the one of GB formats @# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA

P.S.

This is not bag. Full postal codes for United Kingdom(GB) locate in http://download.geonames.org/export/zip/GB_full.csv.zip For import this postal codes, need individual command

blag commented 7 years ago

I'm on mobile but there is an option to add postal codes even if they don't validate. If that doesn't work for you, you can add the postal code format (and regex) to the data at Geocities for the U.K. Country object.

Closing as not our bug (bug is upstream Inn geocities data and we have a workaround). Feel free to reopen if I have misunderstood the problem.