Hi,

Is there a tool that will import an HTML page with form controls and
export model.py field definitions?  The form controls' attribute
values, such as ID and size, would determine the field definitions.

# The tool would transform the HTML form controls into field
properties:

class databaseObjectFromFormControls(models.Model):
  firstName = models.CharField(max_length=50)
  lastName = models.CharField(max_length=50)
  ...

(I have several CRUD pages mocked up but without a database created
for them.  Otherwise I would use Django's manage.py inspectdb to build
the models.py file.)



Thanks,
Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to