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
6fe5580b
authored
Aug 19, 2013
by
Florian Apolloner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented clone based on Anssi's suggestion.
Doesn't seem to be needed now, but better be safe than sorry.
parent
dcde4381
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
taggit/managers.py
+3
-0
No files found.
taggit/managers.py
View file @
6fe5580b
...
...
@@ -66,6 +66,9 @@ class ExtraJoinRestriction(object):
def
relabel_aliases
(
self
,
change_map
):
self
.
alias
=
change_map
.
get
(
self
.
alias
,
self
.
alias
)
def
clone
(
self
):
return
self
.
__class__
(
self
.
alias
,
self
.
col
,
self
.
content_types
[:])
class
TaggableManager
(
RelatedField
,
Field
):
def
__init__
(
self
,
verbose_name
=
_
(
"Tags"
),
...
...
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