Alexandre Bourget committed cfea030

Revenu sur les changements : b980b3a13a81

Comments (0)

Files changed (2)


         return errors
     errors = property(errors)
-    def __repr__(self):
-        _fields = self._fields
-        conf = ''
-        if self._render_fields:
-            conf = ' (configured)'
-            _fields = self._render_fields
-        return '<%s%s with %r>' % (self.__class__.__name__, conf,
-                                   _fields.keys())
 class FieldSet(AbstractFieldSet):


 >>> fs = FieldSet(Two)
->>> fs
-<FieldSet with ['id', 'foo']>
 >>> fs.configure(pk=True)
->>> fs
-<FieldSet (configured) with ['id', 'foo']>
 >>> print fs.render()
  <label class="field_req" for="Two--id">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.