Error while migrating to heroku: django.db.migrations.graph.NodeNotFoundError

I cannot execute syncdb

in my herokuapp on introcial deployment and keep working with the following error:

django.db.migrations.graph.NodeNotFoundError: Migration custompusher.0001_initial dependencies reference nonexistent parent node (u'push_notifications', u'0002_auto_20150629_1438')

      

makemigrations

and migrate

result in the same error btw. my application is very simple. For example. models.py:

from django.db import models
from push_notifications.models import GCMDevice
from django.core.urlresolvers import reverse
class DeviceObj(GCMDevice):
     def get_absolute_url(self):
          return reverse('success')

      

Please note that push_notifications is a third party library that has its own migrations. Also note that setup works fine in place, Heroku issue.

+3


source to share





All Articles