Changes between Initial Version and Version 1 of Scaffolding


Ignore:
Timestamp:
Aug 6, 2006, 3:27:33 PM (18 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scaffolding

    v1 v1  
     1= Scaffolding =
     2
     3Please refer to [wiki:ScaffoldScript] for previous information needed to understand this.
     4
     5This script tries to do a few more, than this one I'm referring to. You should be interested in creating a form for every model on your app, and configure your urls file to have a default url mapping.
     6
     7You have two scripts attached, the first one is called scaffold.py, it could be used alone to generate a default form for a model (-g form) or a default manipulator (-g manipulator).
     8
     9The other is the main one, it's called meta_scaffold.py (The name is not very original, and if someone finds a better name, please feel free to change it ;). This script creates a template for each of your models. For instance, if you have defined a Blog, with Articles and Comments, after executing this script you will have an article_form.html, comment_form.html and a _urls.py with generic create/update/delete links for both articles and comments.
     10
Back to Top