i solved that , i deleted all the databases and makemigrations and migrate
and all was done good

On Thu, 10 Aug 2023 at 18:12, Mz Gz <trapper...@gmail.com> wrote:

> Maybe you referenced another model in your model and the referenced model
> is no more there or its name changed
>
> On Thu, 10 Aug 2023, 2:10 pm Kani Sbt, <sbtk...@gmail.com> wrote:
>
>> django.db.migrations.exceptions.InconsistentMigrationHistory: Migration
>> admin.0001_initial is applied before its dependency lottyapp.0001_initial
>> on database 'default'.
>>
>> --
>> 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/a80ac299-116f-473d-905f-cbc7943513cen%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/a80ac299-116f-473d-905f-cbc7943513cen%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/CAHV4E-cVm62sm_fjKMeLi0J-U9qaTyM6OSNA94%3D6TyqrppvWtw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHV4E-cVm62sm_fjKMeLi0J-U9qaTyM6OSNA94%3D6TyqrppvWtw%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/CAKJFrTQY3Yy_h74_dJ54wHQtxtRRMksFM3VppaGY3SjxRrXdHQ%40mail.gmail.com.

Reply via email to