Opened 8 years ago

Closed 8 years ago

#26625 closed Cleanup/optimization (duplicate)

Check that related_name doesn't contain double underscores

Reported by: Simon Charette Owned by: Filipa Andrade
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

This can lead to strange failures as reported in @django-users.

The django.db.models.fields.related.RelatedField._check_related_name_is_valid method is where the changes should be done.

Change History (2)

comment:1 by Filipa Andrade, 8 years ago

Owner: changed from nobody to Filipa Andrade
Status: newassigned

comment:2 by Simon Charette, 8 years ago

Resolution: duplicate
Status: assignedclosed

Duplicate of #26648.

Note: See TracTickets for help on using tickets.
Back to Top