Skip to content

Error migrating - db_table 'django_redirect' is used by multiple models #35

@carderm

Description

@carderm

Hi - not sure if I'm missing something, but if there are already redirects in the db then this fails. Should it use a separate table?
Cheers.

ERRORS:
django_redirect: (models.E028) db_table 'django_redirect' is used by multiple models: djangocms_redirect.Redirect, redirects.Redirect.
djangocms_redirect.Redirect.site: (fields.E304) Reverse accessor for 'Redirect.site' clashes with reverse accessor for 'Redirect.site'.
	HINT: Add or change a related_name argument to the definition for 'Redirect.site' or 'Redirect.site'.
redirects.Redirect.site: (fields.E304) Reverse accessor for 'Redirect.site' clashes with reverse accessor for 'Redirect.site'.
	HINT: Add or change a related_name argument to the definition for 'Redirect.site' or 'Redirect.site'.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions