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