2012/1/12 Juergen Schackmann <juergen.schackm...@googlemail.com>

>
>
>>
>>
>>> 2. If I do not want to send field by field, but possibly a set of fields
>>> back to the to the server, like the row of a table. Would that be feasible?
>>>
>>
>> Now this is not implemented, and I think it is not trivial. But you can
>> try it
>>
> i am afraid my js skills are too limited for that :-(
>

If you change the backend to allow edit inplace of various fields, I change
the fronted, although I don't need this feature :-)


>
>> 3. How would you create a new field on the page/ new object in the model?
>>>
>>
>> I'm sorry I don't understand this
>>
> let me explain with an example: i have an recipe model and i have
> ingredients that have a foreign key to recipe.  on the web page i display
> the recipe plus all its ingredients. and with inplaceedit i can edit all
> those ingredients, which is great. but how would i enable the user to add a
> new ingredient?
>
>

Ok now I understand.

Now this is not possible, when dealing with relationships you can only
inplace edit using fk and m2m. But it is not difficult to implement in
django-inplaceedit.

You should create a adaptor

http://tracpub.yaco.es/djangoapps/browser/inplaceeditform/trunk/inplaceeditform/fields.py#L305

and add a condition:

http://tracpub.yaco.es/djangoapps/browser/inplaceeditform/trunk/inplaceeditform/commons.py#L57

I paste of the post in the blog [1]:

"Should be generic, configurable and extensible"

"It is important to notice that neither the inline edition or translation
cannot replace an administration of content or tags, but they can greatly
improve user experience."

REF's

1.
http://www.yaco.es/blog/en/contribuciones/2012/01/inline-editing-and-translating-in-django/

I hope your questions have been resolved

Best Regards,

--

Pablo Martín

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to