Django error message “Add a related_name argument to the definition”

You have a number of foreign keys which django is unable to generate unique names for.

You can help out by adding “related_name” arguments to the foreignkey field definitions in your models.
Eg:

content_type = ForeignKey(Topic, related_name="topic_content_type")

See here for more.
http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.related_name

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)