Hi guys! I was working on the poll example, I can add choices to poll "inline", this is cool, but I need to limit how many choices I can add once. If I set num_in_admin=3 and my user need to add more than 3 choices, he have to add the poll and edit it to have more choices available to insert.
I think we can use some javascript here to simplify the things, do you use gmail? When I want to attach a file to the email, I can click on "add another" link that calls a javascript that creates another field to attach a file. Do you understand me? I made use of this in some webware projects, I think I can make some code to django admin and send a patch. We could use javascript to filter data too. It could be configurable on the database Meta attribute and reather than send the filter parameter to the server and get the filtered list from sql, it can filter based on the name using javascript and ajax. Filtering with javascript isn't too much needed, but the edit_inline with javascript is a cool thing I want to see in django that doesn't break backward compatibility. As I said, I can make this improvement on the django admin and send a patch (I think :D) but it seems to me that the admin is being rewritten with newforms, is it true? What do you think about this? Sorry any mistake and let me know if I was not meaningfull in some point. -- Michel Thadeu Sabchuk Curitiba - ParanĂ¡ - Brasil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
