~panosl/+junk/django-attachments

« back to all changes in this revision

Viewing changes to attachments/templatetags/attachments_tags.py

  • Committer: Martin Mahner
  • Date: 2009-06-24 21:04:00 UTC
  • Revision ID: git-v1:af1913a9b5da366cf432b81dc14cea85f13bdcd3
Removed nasty print debug statement from the templatetag. Mentioned that you need to syncdb your database after installation. Bumped up to v0.2.6.

Thank you Graham for the hints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    def render(self, context):
55
55
        obj = self.resolve(self.obj, context)
56
56
        var_name = self.resolve(self.var_name, context)
57
 
        print var_name
58
57
        context[var_name] = Attachment.objects.attachments_for_object(obj)
59
58
        return ''
60
59