Edited unicode methods and added some null=True, blank=True constraints.
[philo.git] / models / nodes.py
index a8125ee..1e7622a 100644 (file)
@@ -108,4 +108,7 @@ class File(View):
                return response
        
        class Meta:
                return response
        
        class Meta:
-               app_label = 'philo'
\ No newline at end of file
+               app_label = 'philo'
+       
+       def __unicode__(self):
+               return self.file.name
\ No newline at end of file