Comments (6)
Nathan, this is on 1.2 I assume?
from django-taggit.
Yep
from django-taggit.
Can you post the full traceback, I of course broke this with multi-db, but I can't remember how :D
from django-taggit.
I probably should have posted this initially :)
Traceback:
File "/home/code/modules/django/core/handlers/base.py" in get_response
101. response = callback(request, *callback_args, **callback_kwargs)
File "/home/code/modules/django/utils/decorators.py" in __call__
36. return self.decorator(self.func)(*args, **kwargs)
File "/home/code/modules/django/contrib/auth/decorators.py" in _wrapped_view
24. return view_func(request, *args, **kwargs)
File "/home/code/projects/readernaut/apps/notes/views.py" in remove
199. note.delete()
File "/home/code/modules/django/db/models/base.py" in delete
604. delete_objects(seen_objs, using)
File "/home/code/modules/django/db/models/query.py" in delete_objects
1203. del_query.delete_batch_related(pk_list, using=using)
File "/home/code/modules/django/db/models/sql/subqueries.py" in delete_batch_related
62. AND)
File "/home/code/modules/django/db/models/sql/where.py" in add
66. value = obj.prepare(lookup_type, value)
File "/home/code/modules/django/db/models/sql/where.py" in prepare
267. return self.field.get_prep_lookup(lookup_type, value)
Exception Type: AttributeError at /notes/12120/remove/
Exception Value: 'TaggableManager' object has no attribute 'get_prep_lookup'
from django-taggit.
Just pushed a likely fix for this, please let me know if there's any other problems with 1.2, else I'll close.
from django-taggit.
All 1.2 things fixed apparently.
from django-taggit.
Related Issues (20)
- Add support for initialising tags via a list on object creation HOT 1
- Add support for new async api HOT 2
- Getting this error while running tests: 'index_together' is deprecated. Use 'Meta.indexes' in 'taggit.TaggedItem' instead. HOT 5
- tag entered in Cyrillic be displayed in Latin
- Tag Ordering Inconsistent HOT 4
- Tags longer than 100 chars raise 500 error HOT 15
- Django Taggit 5.0 is not compatible with Django <4.1 HOT 4
- RTD builds are broken HOT 1
- Multiple queries when adding tags HOT 3
- Reverse query name for 'XXX' clashes
- New 5.0.0 migrations fails: Found wrong number (0) of indexes HOT 3
- DRF - Incorrectly processed Tag input string HOT 2
- Cannot query using tags__name__in HOT 1
- Ticket objects need to have a primary key value before you can access their tags HOT 1
- Add Django 5.0 Support
- Update Python Support
- Offer Tag Merging HOT 2
- [October 2024] Remove Support of Python 3.8
- Mypy Support For TaggableManager HOT 1
- Getting 'Python int too large to convert to SQLite INTEGER' when adding tags in DRF application HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-taggit.