Questions tagged [django-taggit]

django-taggit is a reusable Django application designed to making adding tagging to your project easy and fun.

django-taggit works with Django 1.1 and 1.2 (see Known Issues for known issues with older versions of Django), and Python 2.4-2.X.

306 questions
0
votes
1 answer

How haystack + elastic search work?

I have added taggit application to add tags to some user message. tags = TaggableManager() When i index the message and tags in searchindex.py text = indexes.EdgeNgramField(document=True, use_template=True) message =…
Amarpreet Singh
  • 2,242
  • 16
  • 27
0
votes
1 answer

Adding multiple tags to model

I have the following model: class Investor(Profile): ROLE = ( ('AN', 'Angel Investor'), ('VC', 'Venture Capital'), ('SC', 'Seed Capital') ) role = models.CharField(max_length=2, default='AN', choices=ROLE) min_inv = models.DecimalField( …
user2237822
  • 605
  • 2
  • 10
  • 13
0
votes
1 answer

Using taggit django

I am using the django taggit to add tags to all bids. My bid model is as follows: class Bid(models.Model): tags = TaggableManager() How can I remove a particular tag from all bids who have that tag? I was going to do the following: Let's say I…
jewelwast
  • 2,657
  • 4
  • 17
  • 13
0
votes
1 answer

Django cannot find an app with manage.py syncdb

i am running Mac OS X 10.7 and I succesfully created a project in django by using django-admin.py startproject MyBlog. In this folder i have manage.py, another folder titled MyBlog and an app folder which i created called MainBlog. I needed to…
user1074202
  • 139
  • 1
  • 4
  • 14
0
votes
1 answer

Django Admin modifications for existing extensions (django_taggit)

In a Django project i installed the django_taggit extension. It integrates well with the Django admin interface. I have two problems though: Problem A: flatchoices I cannot show a comma-seperated tag list in the list view of my taggable model.…
Alp
  • 29,274
  • 27
  • 120
  • 198
-1
votes
2 answers

when I try to search I get this error : Related Field got invalid lookup: tag

views.py def home(request): WAllPAPER_PER_PAGE = 15 WALL = Wallpaper.objects.all() from django.core.paginator import EmptyPage, Paginator from django.db.models import Q qd = request.GET.copy() qd.pop('page', None) querystring = qd.urlencode() #link…
1 2 3
20
21