Make it work on django1.3
Replace readonly/min/max fields by an autogenerated comment based on docstrings