Planet Forms

inyoka.planet.forms

Formular for suggesting a new article.

copyright:
  1. 2007-2024 by the Inyoka Team, see AUTHORS for more details.

license:

BSD, see LICENSE for more details.

class inyoka.planet.forms.EditBlogForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)
class Meta
fields = ('active', 'name', 'description', 'blog_url', 'feed_url', 'user', 'icon')
model

alias of Blog

_meta = <django.forms.models.ModelFormOptions object>
base_fields = {'active': <django.forms.fields.BooleanField object>, 'blog_url': <django.forms.fields.URLField object>, 'description': <django.forms.fields.CharField object>, 'feed_url': <django.forms.fields.URLField object>, 'icon': <django.forms.fields.ImageField object>, 'name': <django.forms.fields.CharField object>, 'user': <inyoka.utils.forms.UserField object>}
declared_fields = {'active': <django.forms.fields.BooleanField object>, 'user': <inyoka.utils.forms.UserField object>}
property media

Return all media required to render the widgets on this form.

class inyoka.planet.forms.SuggestBlogForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)

Form to suggest a new blog url for the planet.

base_fields = {'contact_email': <django.forms.fields.EmailField object>, 'description': <django.forms.fields.CharField object>, 'feed_url': <django.forms.fields.URLField object>, 'mine': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'url': <django.forms.fields.URLField object>}
declared_fields = {'contact_email': <django.forms.fields.EmailField object>, 'description': <django.forms.fields.CharField object>, 'feed_url': <django.forms.fields.URLField object>, 'mine': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'url': <django.forms.fields.URLField object>}
property media

Return all media required to render the widgets on this form.