Skip to content

Commit

Permalink
make migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
C2dricLeroy committed Jun 25, 2024
1 parent c93de68 commit efd4f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vocab_dictionnary/dictionnary/models/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Entry(models.Model):
name = models.CharField(max_length=100)
traduction = models.CharField(max_length=200)
dictionnary = models.ForeignKey(Dictionnary, on_delete=models.CASCADE)

description = models.TextField(blank=True, null=True)

def get_display_name(id:int) -> str:
entry = Entry.objects.get(id=id)
Expand Down

0 comments on commit efd4f57

Please sign in to comment.