Coder Social home page Coder Social logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
thanks, I'll take a look at this more.  it does seem like juggling, I think 
there must be a cleaner way.  django does a lot of juggling within the form 
code, it drives me nuts and wastes much of my development time.

I would recommend not calling this autocompleteselect.html but call it 
inlineable_autocomplete_select.html and then use it just for the channels that 
you need that on.

ie:

autocompleteselect_{channel}.html extends inlineable_autocomplete_select.html

then I think it could be includeable in ajax-selects, or even detect when its 
being used inline and use the alternate version.  but it would be prohibitive 
for everybody else if this was the default (not to mention it would break 
everybody's templates)



Original comment by [email protected] on 26 Aug 2010 at 6:06

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
Good call - I should abstract it a bit more and use it if it detects it's an 
inline...

Original comment by [email protected] on 26 Aug 2010 at 6:07

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
Any progress on this? I make heavy use of django-ajax-selects and need it in an 
inline-form, but adding rows is impossible. Would be really great if there was 
a fix - thanks!

Original comment by [email protected] on 10 Dec 2010 at 3:25

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
The provided patches really _do_ work btw. Clean it up and commit it? It's a 
vast improvement to the existing usability!

Original comment by [email protected] on 20 Jan 2011 at 1:19

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
Issue 48 has been merged into this issue.

Original comment by [email protected] on 20 Jan 2011 at 2:25

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
I'll look through the patch again. @rumi if it works then by all means use it 
in your own projects.

if you insert the templates in the correct folder they will over-ride the ones 
from ajax-selects package.  the issue was that such code should not be in 
everybody's way as it makes normal usage quite messy.

Original comment by [email protected] on 22 Jan 2011 at 12:46

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
@crucialf: Already am :) just pushing for the patch to make it upstream.

Original comment by [email protected] on 22 Jan 2011 at 3:36

from django-ajax-selects.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 22, 2024
1.2 includes a cleaned version of this patch. thankx

Original comment by [email protected] on 19 Oct 2011 at 9:49

  • Changed state: Fixed

from django-ajax-selects.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.