I am using geodjango, is it a way to have both newforms-admin and
geodjango on the same trunk?  newforms-admin looks really nice to be
used, but right now I'm using geodjango for GIS.  Any
recommendations?  It's an application of about 70 classes on
models.py, If I'm right there would be necessary to update every class
on Admin.  Am I right? Both newforms-admin and geodjango are
desiderable for me.  Any hints?

On 24 ene, 19:10, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Jan 25, 2008 6:20 AM, Javier Rojas <[EMAIL PROTECTED]> wrote:
>
> > Hi list,
>
> > I wrote a form field (newforms) that can "replicate" itself (source
> > attached). Is similar to the "add attachment" field on GMail; it works
> > with many django's newform fields (even ChoiceField, or IntegerField),
> > and has an almost-decent error handling (it there is a validation error,
> > the values of the previously filled/created fields are filled on the
> > form).
>
> > I would appreciate feedback/patches on this :D.
>
> Hi Javier,
>
> You might want to have a look at the newforms-admin branch.
> Newforms-admin contains a concept called a FormSet; you define a full
> form, and wrap that form into a FormSet; the FormSet provides an
> interface for handling multiple form instances. This feature is used
> to implement the edit-inline functionality that was present in
> oldforms.
>
> The example you provide would be rendered as a form contain a single
> field; that form then gets wrapped into a FormSet, providing multiple
> input opportunities for the user.
>
> The default rendering for a FormSet doesn't use any javascript. It
> follows the old 'N extra blank lines, save the page if you want more
> lines' format; however, it could be easily modified to be dynamic.
>
> Eventually, newforms-admin will be merged into trunk, and FormSet will
> become the officially mandated way to handle form designs of this
> type.
>
> Yours,
> Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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