I'm not specifying the app level, I'm just running "python manage.py
makemigrations --settings=config.settings.local"  and  "python manage.py
migrate --settings=config.settings.local"
I'm not modifying the migrations files and I dont have an app with the
label of admin, thats just the built-in admin. Thanks

On Tue, Aug 29, 2017 at 2:47 AM, James Schneider <jrschneide...@gmail.com>
wrote:

>
> <snip>
>
>   File "C:\Users\Alexander\Envs\business_management\lib\site-packag
> es\django\core\management\commands\migrate.py", line 86, in handle
>     executor.loader.check_consistent_history(connection)
>   File "C:\Users\Alexander\Envs\business_management\lib\site-packag
> es\django\db\migrations\loader.py", line 298, in check_consistent_history
>     connection.alias,
> django.db.migrations.exceptions.InconsistentMigrationHistory: Migration
> admin.0001_initial is applied before its dependency accounts.0001_initial
> on database 'default'.
>
>
>
> let me know if you need anymore info to help me out with this. Thanks in
> advance
>
>
>
> How are you generating your migration files?
>
> Are you specifying the app_label after the makemigrations command?
>
> Are you modifying the migration files after they've been generated?
>
> Do you have an app with a label of admin? Or is that a reference to the
> built-in admin?
>
> -James
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/django-users/kzNqB9lEIGA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CA%2Be%2BciUKFGrv62awj%2BuuSSuVaS9uYqVs2%2Brv%
> 3DJPsaxvmJGNTfg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUKFGrv62awj%2BuuSSuVaS9uYqVs2%2Brv%3DJPsaxvmJGNTfg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best Regards,

Alexander Joseph

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGJrYjZjua%3DYrA70m_aodhDHrS2A-eJ%3DQ6LR_3oEK%3D9NKuD8JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to