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