associate file upload to model

2012-07-28 Thread Brian Hunter
I'd like to use an upload handler function but confused as to how an uploaded file gets saved to a model's FileField. Eventually I will use a formset to allow for multiple files to be uploaded. #models.py class MyModel(models.Model): file = models.FileField(upload_to='attachments', blank=Tru

Re: invalid filter: 'wikify' error

2008-05-14 Thread Brian Hunter
#x27;, wikify) > def wikify(value): >     return wikilink.sub(r"\1", value) Did you try calling register.filter('wikify', wikify) after the wikify method instead of before? -Rajesh Brian Hunter brianhunterstudio.com --~--~-~--~~~---~--~~ Yo