Start of the error message:
IntegrityError at /admin/base_page/organizationsetting/add/
duplicate key value violates unique constraint "base_page_citysetting_site_id_key"
DETAIL: Key (site_id)=(1) already exists.
Request Method: POST
Request URL: http://localhost:8000/admin/base_page/organizationsetting/add/
Django Version: 1.4.1
Exception Type: IntegrityError
Exception Value:
duplicate key value violates unique constraint "base_page_citysetting_site_id_key"
DETAIL: Key (site_id)=(1) already exists.
Likely cause:
Change from citysettings to organizationsettings left all indices, sequences and constraints in database to use names and references like base_page_citysettings...