Commits

Author Commit Message Labels Comments Date
Raoul Thill
Fix image url
Raoul Thill
Update to get all my fields working again
Raoul Thill
Adding custom URLField handler, uses field name checks. If field name contains string 'image_url' an image will be displayed, otherwise a clickable links will be generated.
Gunnlaugur Þór Briem
Made ManyToManyField properly supported (submitting a form with ReadOnlyWidget for a ManyToManyField was borking with an error because the form data was expected to be list-valued. Inheriting from MultiHiddenInput instead of HiddenInput turned out to work fine. So I split out the ManyToManyField support into a separate class inheriting from MultiHiddenInput, and had them both inherit the common stuff from ReadOnlyWidgetMixin. Works fine for my ManyToManyField case, haven't tested with the others (but I *think* this does not change behavior in those cases).
Stephan Jaekel
fixed typo in MANIFEST.in
Stephan Jaekel
changed exception, raise attributeerror if method not found and added i18n
Stephan Jaekel
removed unused print
Stephan Jaekel
added some setup stuff
Stephan Jaekel
renamed readme to get it parsed on bitbucket
Stephan Jaekel
initial import