1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed admin_views clashing field check error.

admin_views.Recommendation.recommender: (models.E006) The field 'recommender'
clashes with the field 'recommender' from model 'admin_views.title'.
This commit is contained in:
Adam Chainz
2016-08-05 16:19:09 +01:00
committed by Tim Graham
parent 796cc62026
commit a757c68129
3 changed files with 4 additions and 4 deletions

View File

@@ -397,7 +397,7 @@ class Recommender(Title):
class Recommendation(Title):
recommender = models.ForeignKey(Recommender, models.CASCADE)
the_recommender = models.ForeignKey(Recommender, models.CASCADE)
class Collector(models.Model):