Skip to content
Extraits de code Groupes Projets
Valider b8b29fd4 rédigé par Yohan Boniface's avatar Yohan Boniface
Parcourir les fichiers

When creating a FK to an abstract model, use a string as parameter

parent 4a799ece
Aucune branche associée trouvée
Aucune étiquette associée trouvée
2 requêtes de fusion!158Attempt at fixing tests in the restructure branch,!157WIP - Restructure the repository
......@@ -36,7 +36,7 @@ class Representative(models.Model):
class Contact(models.Model):
representative = models.ForeignKey(Representative)
representative = models.ForeignKey("Representative")
class Meta:
abstract = True
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter