Nevermind, I found a solution:
Run "python manage.py makemigrations myapp" first to create migrations
focused on your app...
Before the usual createdb stuff...
I still dont understand why this is an issue with a clean database.
On Saturday, 12 September 2015 18:15:19 UTC+2, Niels Jakob Buch wrote:
>
> Im stuck in this annoying error. Trying to run the "python manage.py
> createdb" in the project root
>
> [lots of error lines removed]
> File "C:\Code\MEZ4\lib\site-packages\django\db\migrations\state.py",
> line 270, in render_multiple
> "for more" % (new_unrendered_models, get_docs_version())
> django.db.migrations.state.InvalidBasesError: Cannot resolve bases for [<
> ModelState: 'myapp.myPage'>]
> This can happen if you are inheriting models from an app with migrations (
> e.g. contrib.auth)
> in an app with no migrations; see https://
> docs.djangoproject.com/en/1.8/topics/migrations/#dependencies for more
>
>
>
> I am having a page that is used for an app:
> class TrapsPage(Page, RichText):
> add_toc = models.BooleanField(_("Add TOC"), default=False,
>
> help_text=_("Include a list of child
> links"))
>
>
> class Meta:
> verbose_name = _("My Page")
> verbose_name_plural = _("My Pages")
>
>
> Can anyone point in a meaningful direction for further investigation...?
>
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.