django-taggit Questions
2
Solved
I've started using django-taggit and it seems to fit the bill. But for me there is still an issue with the admin site:
I included the tags attribute in the ModelAdmin like this:
class MyModel(db...
Lightheaded asked 12/6, 2011 at 7:18
4
I'm using django-taggit. I'd like to have all tags in lowercase, also set a range for tag numbers (say between 1 and 5, just like stackoverflow). Is there any way to do it easily with django-taggit...
Giliana asked 26/5, 2011 at 20:14
2
get_extra_restriction() missing 1 required positional argument: 'related_alias' error django
I deployed my django site on heroku and when i run my url which uses django taggit in it error shows up. I am using django taggit for meta keys to find related blogs.
Sandeesandeep asked 27/12, 2021 at 15:18
4
Solved
I added tags = TaggableManager(blank=True) to my models, but I want my tags to be case-insensitive.
I saw some snippets of work arounds for this and wanted to ask if there is an easy way to do it?
...
Slipshod asked 14/3, 2011 at 14:48
3
Solved
How to get all the (unique) tags from django-taggit? I would like to display all the tags in a side bar.
Currently I am able to get all the tags for a particular post, but now I need to get all the...
Pendergrass asked 15/10, 2012 at 10:56
3
Solved
I have gone through the customization documentation here https://django-taggit.readthedocs.io/en/latest/custom_tagging.html#genericuuidtaggeditembase
I am using the following code, when I save th...
Outguard asked 26/5, 2019 at 22:28
2
I am trying to change my rest end points to graphql and I had a library called TaggableManager as one of the model fields. Anyone know how this can work with graphql?
Thanks in advance
Secor asked 7/11, 2017 at 19:54
1
Solved
I have created a test vlog application using django/python and django-taggit.
The vlog and tags are working as they should.
However, I want to list all the existing tags in the django-admin inter...
Obsolete asked 3/1, 2018 at 23:17
2
Solved
I have models that uses UUID as its PK
class Foo(models.Model):
foo_id = models.UUIDField(
primary_key=True,
default=uuid.uuid4,
editable=False
)
tags = TaggableManager()
When I go ...
Watchcase asked 28/7, 2015 at 17:24
2
Solved
This is a Model Class
class ModelName(models.Model):
(...)
pasta = TaggableManager(verbose_name=u'Pasta')
and a form template (normal :P )
{{form.as_p}}
I'd like to leave everything very cle...
Spun asked 18/4, 2013 at 19:56
3
I'm trying to figure it out why when i submit my form, my tags are not saved in my db. Pretty new with the django-rest-framework and Django-taggit too, i think i'm doing something wrong :)
First, ...
Extinguisher asked 4/2, 2014 at 21:22
2
Solved
I'm using django-taggit on one of my projects and I'm able to save and tie the tags with specific records. Now the question is how do I display the tags related to each record?
For example on my p...
Pentup asked 7/6, 2011 at 12:35
4
I'm building a basic time logging app right now and I have a todo model that uses django-taggit. My Todo model looks like this:
class Todo(models.Model):
project = models.ForeignKey(Project)
des...
Fy asked 17/10, 2012 at 2:0
1
Solved
I'm using Django 1.6.1 with django-taggit.
I'm trying to extend my search engine so that it searches for keywords in other fields besides the tag fields. The trouble is that when I iterate through...
Err asked 9/1, 2014 at 7:21
2
Say I have a model:
class Entry(models.Model):
...
tags = TaggableManager()
When I iterate over Entry.objects.all() in a template, entry.tags.all produces one more query to the database. Is it...
Plane asked 1/7, 2011 at 11:19
2
I have a todo model defined below:
class Action(models.Model):
name = models.CharField("Action Name", max_length=200, unique = True)
complete = models.BooleanField(default=False, verbose_name="...
Pearce asked 30/8, 2012 at 19:57
2
Solved
I have a model that is using django-taggit. I want to perform a South data migration that adds tags to this model. However, the .tags manager is not available from within a South migration where yo...
Prut asked 3/12, 2012 at 21:48
1
Solved
I have a series of objects that are associated with specific users, like this:
from django.db import models
from django.contrib.auth.models import User
from taggit.managers import TaggableManager
...
Raeleneraf asked 4/7, 2012 at 3:2
1
Background: I have 5 independent Django projects which I am attempting to combine in to 1 Django project composed of several apps. In other words: projA has appA, projB has appB & projC has app...
Germin asked 24/5, 2012 at 21:52
3
Solved
I would like to use django-taggit (click here ). The documentation ( click here) talks about using ModelForm to generate the form but I have already my form that I would like to use.
Let's say if ...
Naxos asked 19/3, 2011 at 2:48
1
Solved
I have a fairly simple model that uses Django Taggit for tagging.
Everything works great, but now I'd like to expand some functionality and I'm a little confused.
What I want is two views.
One t...
Arethaarethusa asked 29/11, 2011 at 17:22
1
Solved
I'm using django-taggit (see here). This is what I have:
forms.py
from taggit.forms import *
class MyForm(forms.Form):
title = forms.CharField()
my_tags = TagField(max_length=800, widget=form...
Vespine asked 5/4, 2011 at 4:19
1
Solved
I'm using django-taggit, which handles the attachment of tags to arbitrary content types.
I imported a large tag list, which contains many uppercase words, as well as lowercase words.
Now, I' tryi...
Malayoindonesian asked 13/10, 2010 at 12:28
1
© 2022 - 2024 — McMap. All rights reserved.