On Wednesday 17 May 2017 05:57:57 Tobias Dacoir wrote:
> Thanks Melvyn,
> 
> I used promises before, when I use a foreign key for a class that is
> not yet defined, however it didn't change anything for my problem. I
> can make migrations, but not migrate. I am starting with a new
> database from scratch.
>    self.ensure_not_cyclic(target, lambda x: (parent.key for parent in
> self. node_map[x].parents))
>   File
> "/Users/no68tuh2/.virtualenvs/ihearu/lib/python2.7/site-packages/djang
> o/db/migrations/graph.py" , line 370, in ensure_not_cyclic
>     raise CircularDependencyError(", ".join("%s.%s" % n for n in
> cycle)) django.db.migrations.exceptions.CircularDependencyError:
> play.0001_initial, portal.0001_initial
> 
> This CircularDependencyError is driving me crazy.

Ah, now I see!
This has nothing to do with *model* dependencies. Two *migrations* depend on 
each other: 
play and port, both 0001_initial.

Do you have any idea how you got into that jam? Did you fiddle with 
django_migrations table? 
Maybe run --fake?
-- 
Melvyn Sopacua

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/1920754.j0INFyIkA1%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to