Basic support for Electronic docs (file uploads).
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 15 Jan 2009 03:21:55 +0000 (03:21 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 15 Jan 2009 03:21:55 +0000 (03:21 +0000)
commit928fbad0ea4b79af10e541be9d5b5514fade353e
treea785c3983cd2892e19043b98bd5ecba7666822cc
parent434d5fd386b881769872c58e992a5e1cbf291309
Basic support for Electronic docs (file uploads).

It's ugly, but the mechanism works. This commit changes the Item
model; if you don't want to rebuild your tables you can do this:

sqlite3 syrup.sqlite "alter table syrup_item add column
fileobj_mimetype varchar(128) NULL;"

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@113 6d9bc8c9-1ec2-4278-b937-99fde70a366f
conifer/syrup/models.py
conifer/syrup/urls.py
conifer/syrup/views.py
conifer/templates/item_add_elec.xhtml [new file with mode: 0644]
conifer/templates/item_add_url.xhtml
conifer/templates/item_metadata.xhtml