flebel / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Make 'usage_for_model' autosuggest-friendly #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I decided to use django-tagging instead of a rather limited tagging model
of my own. The porting went without problems and I have countless ideas how
I could make use of tags for all kind of objects.
There is one little feature I miss, though. For an ajaxed autosuggest
field, I need a list of the most used tags which begin with the same
characters the user already typed. TagManager.usage_for_model comes pretty
close, but AFAIK, it's not possible to filter the tags themselves by a
string and order by count.

I hacked up a really bad solution for this problem. Please, don't use this
abomination for more than an explanation of my feature request.

Thanks for this great app!

Original issue reported on code.google.com by piquad...@gmail.com on 28 Mar 2008 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
This issue can be closed as invalid. It's clearly a case for custom SQL. I 
didn't
realize this earlier. Sorry for the noise.

Original comment by piquad...@gmail.com on 23 Aug 2008 at 10:07