Multimedia support - Commiting from a not yet finished state - Details below
* DONE Initially testing with arista ** DONE Video display templates *** TODO Multi-browser support ** TODO Video thumbnails ** TODO Link to original video ** TODO Video cropping Also contains a lot of "debug" print's
This commit is contained in:
@@ -107,3 +107,11 @@ def user_add_forgot_password_token_and_expires(database):
|
||||
{'fp_token_expire': {'$exists': False}},
|
||||
{'$set': {'fp_token_expire': None}},
|
||||
multi=True)
|
||||
|
||||
|
||||
@RegisterMigration(7)
|
||||
def media_type_image_to_multimedia_type_image(database):
|
||||
database['media_entries'].update(
|
||||
{'media_type': 'image'},
|
||||
{'$set': {'media_type': 'mediagoblin.media_types.image'}},
|
||||
multi=True)
|
||||
|
||||
Reference in New Issue
Block a user