资源说明:
===========
Django Fusion Tables
===========
Django Fusion Tables exports your django models to Google Fusion Tables.
To install in your virtual environment:
pip install -e git+git@github.com:shuggiefisher/django-fusion-tables.git#egg=django-fusion-tables
Install the dependencies:
pip install -e git+git@github.com:shuggiefisher/python-fusiontables@97983cea0f1e8c3bed6549212f39035cd3a32b31#egg=python-fusiontables
and add 'djangofusiontables' to your INSTALLED_APPS in settings.py
Add a file named pyftconfig.py to the root of your project containing:
PYFT_GOOGLE_USERNAME="myaccount@gmail.com"
PYFT_GOOGLE_PASSWORD="my_application_specific_password"
You can generate your application-specific-password at http://accounts.google.com
To export a model to a Google Fusion Table
1. Find the FusionTableExport model in the admin interface.
2. Use the admin interface a choose a model from your django application and on save it will be exported to a fusion table.
3. When the export has finished, a link to the fusion table will appear in the admin interface.
Any changes to your django model will now be reflected in the fusion table.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
