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
Percy
Percy8mo ago
Project ID: N/A
Brody
Brody8mo ago
dont use the inbuilt database tools, use proper software like dbgate or pgadmin
ahmedansari
ahmedansari8mo ago
can you please tell me how i can go for that
Solution
ahmedansari
ahmedansari8mo ago
how i can connect it with django
Brody
Brody8mo ago
doesnt have anything to do with django, you asked how to delete something from the database
ahmedansari
ahmedansari8mo ago
yeah but you are telling me to go for dbgate, can you provide me with proper instruction
ahmedansari
ahmedansari8mo ago
thanks Brody it works
Brody
Brody8mo ago
no problem!