ARLO Nester
Public Member Functions | Static Public Attributes | List of all members
workspace.metatagging.views.classifyTag.TagMetaCustomForm Class Reference

Dynamically build a Django Form from the database data. More...

Inheritance diagram for workspace.metatagging.views.classifyTag.TagMetaCustomForm:
Inheritance graph
[legend]
Collaboration diagram for workspace.metatagging.views.classifyTag.TagMetaCustomForm:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, args, kwargs)
 

Static Public Attributes

tuple tagExampleId
 

Detailed Description

Dynamically build a Django Form from the database data.

Finally got this working compliments of http://jacobian.org/writing/dynamic-form-generation/

Parameters
tagMetaFormTagMetaForm Object
Returns
forms.Form Object

Constructor & Destructor Documentation

def workspace.metatagging.views.classifyTag.TagMetaCustomForm.__init__ (   self,
  args,
  kwargs 
)

Member Data Documentation

tuple workspace.metatagging.views.classifyTag.TagMetaCustomForm.tagExampleId
static
Initial value:
1 = forms.IntegerField(
2  required=True,
3  label="TagExample Id",
4  widget=forms.TextInput(attrs={'readonly':'1'}))

The documentation for this class was generated from the following file: