No, I am trying to deploy it locally. I have no sqlite DB and no
migrations. For some strange reason I used to just run manage.py
makemigrations and would create the initial migrations for all Apps. This
doesn't work for some reason anymore. So I have to to makemigrations
APPname for each app and when I run to migrate to create the intial
database schema, it doesn't work. So I figured my Data Model is crap.
On Wednesday, May 17, 2017 at 5:41:41 PM UTC+2, Melvyn Sopacua wrote:
>
> 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/5bb45dcf-9ced-44b9-96fe-345ab9e0dec3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.