V-0.3
Author: rob@thegogame.com
forge.gg.getVideo([options], success, error)
iOS
# execfile('/Users/gogamedesign/newsite/website-bravo/misc/09ee79d18f126006216d/multi-tenancy-migration.py') | |
from gogame_app.models import * | |
from gogame_gallery.models import * | |
from mezzanine.blog.models import * | |
from django.contrib.sites.models import Site | |
from django.conf import settings | |
from django.contrib.redirects.models import Redirect | |
from mezzanine.pages.models import Page |
from models.models import Flavor, Organization | |
organizations = Organization.objects(title__ne='Go Game USA') | |
flavor_ids = ['54e394b30df8257c2019fa19', '53ffbf1c129d7c22a3c98981', '54dd3fd80df8257c2019f9e9', '541fb9b7129d7c0a54f63c21', '549467030df8252dd18c64df'] | |
flavors = Flavor.objects(id__in=flavor_ids) | |
for org in organizations: |
V-0.3
Author: rob@thegogame.com
forge.gg.getVideo([options], success, error)
iOS
user clicks on HTML file input element
<form enctype="multipart/form-data" class='media-upload-form'>
<div class='upload_container'>
<input type="file" name="file"
id="fileUpload{{unbound view.elementId}}"
accept="{{unbound view.accept}}">
</div>
where view.accept = 'video/*' or 'image/*'