Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-taggit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5ee280a9
authored
Dec 16, 2010
by
Alex Gaynor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to incude any objects, they cascade naturally.
parent
f2b899f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
taggit/managers.py
+1
-3
No files found.
taggit/managers.py
View file @
5ee280a9
...
@@ -131,9 +131,7 @@ class TaggableManager(RelatedField):
...
@@ -131,9 +131,7 @@ class TaggableManager(RelatedField):
return
[(
"
%
s__content_type__in"
%
prefix
,
cts
)]
return
[(
"
%
s__content_type__in"
%
prefix
,
cts
)]
def
bulk_related_objects
(
self
,
new_objs
,
using
):
def
bulk_related_objects
(
self
,
new_objs
,
using
):
return
self
.
through
.
_base_manager
.
db_manager
(
using
)
.
filter
(
return
[]
**
self
.
through
.
bulk_lookup_kwargs
(
new_objs
)
)
class
_TaggableManager
(
models
.
Manager
):
class
_TaggableManager
(
models
.
Manager
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment