Added document printing support

This commit is contained in:
Roberto Rosario
2011-05-06 00:46:33 -04:00
parent 0eca667fd4
commit c44a1f947c
14 changed files with 216 additions and 93 deletions

View File

@@ -66,7 +66,7 @@ class Document(models.Model):
description = models.TextField(blank=True, null=True, verbose_name=_(u'description'), db_index=True)
tags = TaggableManager()
comments = generic.GenericRelation(
Comment,
content_type_field='content_type',
@@ -332,7 +332,7 @@ class DocumentPage(models.Model):
except Exception, e:
warnings.append(e)
return ' '.join(transformation_list), warnings
return ' '.join(transformation_list), warnings
class MetadataGroupManager(models.Manager):