[Fixed]-Error in postgres database : table is not created

1👍

Enabling the sites framework

To enable the sites framework, follow these steps:

Add 'django.contrib.sites' to your INSTALLED_APPS setting.

Define a SITE_ID setting:

SITE_ID = 1

Run migrate.
your sites table will be created now.

source : https://docs.djangoproject.com/en/1.10/ref/contrib/sites/

Hope this helps.

Leave a comment