Commit 220171fa authored by Administrator's avatar Administrator

Ressource not obligatory

parent 1d6543c9
......@@ -60,7 +60,7 @@ class Node(CTENode):
# use resources instead.
file = models.FileField(upload_to=upload_to, blank=True)
#resources = models.ManyToManyField(Resource)
resource = models.ForeignKey(Resource)
resource = models.ForeignKey(Resource, blank=True)
#ngrams = models.ManyToManyField(NGrams)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment