Add recursive model Location.
Add location model and make it reference self.
Add location to index view.
Add location to index template.
Add location to admin panel.
Make migration after location added.
Add location samples and run db migrate.