You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
Hi again,
while tinkering at my old sites, I wonder if there’s an easy upgrade
path from medialibrary to medialibrary.v2?
I find deprecation warnings a bit scary...
Greetlings, Hraban
Matthias Kestenholz
unread,
May 31, 2012, 6:13:55 AM5/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
Hi Hraban
Sure --
The only difference is that the database column (and Django model field) `position` has been renamed to `type`. Just import the MediaFileContent from v2 instead of models, and create a South migration containing db.rename_column('page_page_mediafilecontent', 'position', 'type') in the forward migration. (Or run the equivalent SQL statements by hand.)