I have a Django
web application which is synced to a PostgreSQL
database.
After adding some rows to a couple of tables (using pgAdmin
, not the Django
application itself) i started experiencing some problems with the application.
For example, i would get the following error in some tables:
Duplicate key value violates unique constraint "some_key_pkey" DETAIL: Key (id)=736284 already exists.
My assumption is that i had to let the Django
application know somehow that i have added new rows to the database.
Could that really be the case? If so, how can i solve it?