Rapidsms-locations-app is a project mainly written in Python, it's free.
An alternative way to store locations
Locations is a reusable RapidSMS app that does a better job of storing hierarchical location structures than the stock locations app.
git clone https://github.com/timbaobjects/rapidsms-locations-app.git locations
Then add locations
to your INSTALLED_APPS setting in your settings.py
django-mptt <https://github.com/django-mptt/django-mptt>
_