Not able to delete the records on postgres railway
I am developing a django application and shifted from sqlite to postgres on railway but now the problem is when i delete record manually from DB it is giving me an error of foreign key constraint, but i put in the model on_delete, please somebody help me
10 Replies
Project ID:
N/A
dont use the inbuilt database tools, use proper software like dbgate or pgadmin
can you please tell me how i can go for that
Solution
how i can connect it with django
doesnt have anything to do with django, you asked how to delete something from the database
yeah but you are telling me to go for dbgate, can you provide me with proper instruction
thanks Brody it works
no problem!