资 源 简 介
Description
Simple Django pluggable to use cities/regions/countries database.
This project includes a simple model and methods to use with country/region/city ajax-combobox. Also, it includes YAML files containing more than 200 countries, more than 2500 regions around of the world and more than 9500 cities from Brazil
If you need the database of cities of another countries you can try to convert or adapt the data available in the project: http://code.google.com/p/worlddb/
Installing
Requirements
JQuery (file included in the project):
* http://jquery.com/
* jquery-1.3.2.min.js
JQuery plugin (file included in the project):
* http://www.texotela.co.uk/code/jquery/select/
* jquery.selectboxes.min.js
Python-YAML:
sudo apt-get install python-yaml
Commands
tar -xvzf django-worlddb-0.1.tar.gz
cd django-worlddb-0.1
python setup.py install
Copy the files to your st