Synchronizing apps without migrations:
Creating tables...
Creating table thumbnail_kvstore
Creating table sitemetrics_keycode
Running deferred SQL...
Traceback (most recent call last):
...
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/django/db/backends/utils.py", line 62, in execute
return self.cursor.execute(sql)
django.db.utils.ProgrammingError: relation "django_site" does not exist
I have contrib.sites in INSTALLED_APPS and sites is migrated app. Maybe initial migrations should be included in module due to optional dependency from django.contrib.sites? (It solved my problem)