Django IBGE is a pluggable application for
Django Web Framework that
provides information from Brazilian Institute of Geography and Statistics
Project page http://bitbucket.org/semente/django-ibge
Django Web Framework: http://www.djangoproject.com
Django IBGE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Django Smuggler is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, see http://www.gnu.org/licenses/.
GNU General Public License: http://www.gnu.org/licenses/gpl-3.0-standalone.html
Slug field - Updating your django-ibge
How to add the slug field.
Run the following command to update django-ibge
pip install -U django-ibge
Then you will have to make some changes
If you use South:
Run the migrate exactly like that
python manage.py migrate ibge --fake 0001 python manage.py migrate ibge
If you don't have South:
python manage.py dbshell
and run this commands SQL:
ALTER TABLE ibge_municipio ADD COLUMN slug VARCHAR(64);
python manage.py syncdb
OK and ready to work.