Fix uploading packages
commita110d531b219123494e44a021920a0b65810c3b1
authorSebastian Nowicki <sebnow@gmail.com>
Sat, 31 Jan 2009 12:16:47 +0000 (31 21:16 +0900)
committerSebastian Nowicki <sebnow@gmail.com>
Wed, 25 Nov 2009 14:37:42 +0000 (25 22:37 +0800)
tree170db3d218c1a0782b478c471213145a8289358b
parentcd4336950341d22c05bd980f2ea2b39960097a7b
Fix uploading packages

In Django 1.0 the way files FileFields were saved changed. The API now wants a
File object as opposed to a string. Additionally the upload_to field now
allows a callable. The overridden methods were removed in favor of using a
callable that returns the appropriate path.
archlinux/aur/forms.py
archlinux/aur/models.py