Commit 4e76bc4b32cfb14557d8098bd87464c74e54a7f4

Authored by Katarzyna Krasnowska
1 parent 7636359b

small fix (typos)

Showing 1 changed file with 3 additions and 3 deletions
syntax/models.py
... ... @@ -172,8 +172,8 @@ class PhraseTypeModel(models.Model):
172 172 def __str__(self):
173 173 return self.name
174 174  
175   -class NaturalLanguageDescription(models.model):
176   - nagativity = models.ForeignKey(Negativity, null=True, on_delete=modelds.PROTECT)
  175 +class NaturalLanguageDescription(models.Model):
  176 + negativity = models.ForeignKey(Negativity, null=True, on_delete=models.PROTECT)
177 177 function = models.ForeignKey(SyntacticFunction, null=True, on_delete=models.PROTECT)
178 178 control = models.ForeignKey(Control, null=True, on_delete=models.PROTECT)
179 179 pred_control = models.ForeignKey(PredicativeControl, null=True, on_delete=models.PROTECT)
... ... @@ -184,5 +184,5 @@ class NaturalLanguageDescription(models.model):
184 184 description = models.TextField()
185 185  
186 186 def __str__(self):
187   - return description
  187 + return self.description
188 188  
... ...