hmm however will might not be able to really understand your problem but what me i feel could help is just search for this keyword [how to delete a model in django] google will always give you an edge
On Tue, Jun 30, 2020 at 10:07 AM Arpana Mehta <arpana11me...@gmail.com> wrote: > You are right sir. Perhaps, if we could see the settings and models file.. > it would help > > On Mon, 29 Jun 2020 at 23:30, maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> This could be a case for cleaning the database up. Is there kinda too >> much data in it, and which one is it ? >> >> Normally when you use multiple databases, the routers could also cause >> the problem >> >> Without knowing all this and the code, it might be difficult to take a >> decision >> >> Regds >> >> Sent from my iPhone >> >> On Jun 29, 2020, at 11:17 PM, Arpana Mehta <arpana11me...@gmail.com> >> wrote: >> >> This is because those tables exist in your database probably. And thus >> when you migrate it is showing error. >> >> On Mon, 29 Jun 2020, 19:42 rishi kalsi, <savedataforri...@gmail.com> >> wrote: >> >>> Hi, >>> >>> I am very new to Django or to web programming. >>> Somehow i have learnt from Django documentation to create models. >>> >>> django.db.utils.ProgrammingError: relation "ops_sightseeing" already >>> exists >>> I have deleted my entire model due to the above mentioned error >>> after deleting I ran makemigrations which was fine. >>> >>> but when i run migrate it gives this error >>> >>> django.db.utils.ProgrammingError: relation "ops_sightseeing" already >>> exists >>> >>> >>> Please help me on this >>> >>> >>> Regards >>> >>> Rishi >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to django-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/32eca0bd-4276-469c-9f3d-013a14c07049n%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/32eca0bd-4276-469c-9f3d-013a14c07049n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAGyqUuUVoVSf%2BafLLsviHrqs8HfUic3OJzr36nAVvAAAx-G_eA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAGyqUuUVoVSf%2BafLLsviHrqs8HfUic3OJzr36nAVvAAAx-G_eA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/346676BD-D5F3-4846-B74E-B938EC088A08%40gmail.com >> <https://groups.google.com/d/msgid/django-users/346676BD-D5F3-4846-B74E-B938EC088A08%40gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAGyqUuUvbPLqyUds-H%2BUA%2B%2Bqwu%2B9eW1%3DEpgpHJQ8jRWWNYp%2BGQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAGyqUuUvbPLqyUds-H%2BUA%2B%2Bqwu%2B9eW1%3DEpgpHJQ8jRWWNYp%2BGQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFujGLyyLmD0gj29q4ykef26%3DNaS4vky_6v4%3Df9qFORJH3akdg%40mail.gmail.com.