media_tags_as_string, cleaned_markdown_conversion)
from mediagoblin.tools.licenses import SUPPORTED_LICENSES
+
@get_user_media_entry
@require_active_login
def edit_media(request, media):
slug=media.slug,
description=media.description,
tags=media_tags_as_string(media.tags),
- license=media.license))
+ license=media.license)
form = forms.EditForm(
request.POST,
from mediagoblin.tools.translate import fake_ugettext_passthrough as _
from mediagoblin.tools.licenses import licenses_as_choices
+
class SubmitStartForm(wtforms.Form):
file = wtforms.FileField(_('File'))
title = wtforms.TextField(