TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Django-inplaceedit: Edit on the fly

88 pointsby pajjuabout 12 years ago

8 comments

ipmbabout 12 years ago
The Django ecosystem is almost entirely made up of BSD/MIT licensed software. My guess is that licensing this as LGPL is going to hurt its adoption.<p>Jacob Kaplan-Moss has a good talk on licensing here, <a href="http://www.youtube.com/watch?v=vhuF0oalOi8" rel="nofollow">http://www.youtube.com/watch?v=vhuF0oalOi8</a>
评论 #5614113 未加载
评论 #5613931 未加载
danellisabout 12 years ago
I've implemented this kind of thing in Django before, and I found that the problem I have with inline editing in general is one of affordance. Like the example in the video, if there are no controls, you have to be already familiar with the site to know that text is editable. 'Hover-over' affordance isn't really acceptable, because you won't move your mouse there unless you already have a reason to, and a user shouldn't be required to 'scan' the page with the mouse to find out which bits are reactive.<p>On the other hand, having "edit" links or buttons next to every field really litters up the page.<p>Has anybody written about good solutions to this?
评论 #5617426 未加载
评论 #5619210 未加载
评论 #5615742 未加载
gojomoabout 12 years ago
Neat! It might be interesting to have a tag for 'replace-with-edited-text-if-available'. (This falls somewhere between the editable-model-fields and alternate-translations cases.) For example:<p><pre><code> {% replaceable %} &#60;h1&#62;Hello&#60;/h1&#62; &#60;p&#62;This text might not appear, &#60;i&#62;if&#60;/i&#62; it is ever edited-in-place.&#60;/p&#62; {% endreplaceable %} </code></pre> When edited, the module would derive a deterministic unique key for the modified HTML and store in the database. Future redisplays would use the edited text. (Optional parameters might help control how the unique key is derived, from either actual access URI or template name, to affect the range of pages over which one edited-replacement-text appears.)
bergieabout 12 years ago
This might be an interesting backend for <a href="http://createjs.org/" rel="nofollow">http://createjs.org/</a>
goinnnabout 12 years ago
Hi all,<p>I am the main developer to django-inplaceedit.<p>I encourage you to collaborate with this egg, the last releases have been thanks to the community, and for me this is very nice:<p><a href="https://github.com/Yaco-Sistemas/django-inplaceedit/blob/master/CHANGES.rst" rel="nofollow">https://github.com/Yaco-Sistemas/django-inplaceedit/blob/mas...</a><p>Best regards,
coldteaabout 12 years ago
Nice for those who like it, but I never liked "edit on the fly" on a CMS.<p>Except if it was an additional method, for quick edits, corrections etc. Else, it artificially restricts tons of stuff that could be done in a proper admin interface.
iliaznkabout 12 years ago
So good, exactly what I need for my little hobby project. Thanks for sharing!
评论 #5613322 未加载
metaphormabout 12 years ago
this looks sweet. gonna try it out.