The title and plot of District 9 were based on real-life events that took happened in District Six , Cape Town during the apartheid era .
The title and premise of District 9 were inspired by events that took place in District Six , Cape Town during the apartheid era .