Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 15, 2011 14:48:49

OrazioPirataDelloSpazio (.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Dynamic nested forms


Hello,
I had to make a page with some dynamically added nested formset (all in
a page), for example:

Blog title:
Blog info:
--Entry title:
--Entry text:
----Tags:
----Add new Tag
-- Add New Entry
...
Add new Blog

Which is the cleanest way to do it with django?
I did it using 3 formset (blog, entry and tags), but code looks like a
mess.
Is there some easier way, as there is for Rails , for this quite
common task?

Lorenzo

http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributessignature.ascDescription:OpenPGP digital signature

Attachments:
attachment signature.asc (559 bytes)

Offline

Board footer

Moderator control

Enjoy the 16th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support