Add new method in views.py: initialize_database(request)
Clean redundancy code in method: getCities(request)