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
bed957df
authored
Aug 17, 2013
by
Florian Apolloner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Django 1.7 support (again and again).
parent
10923624
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
CHANGELOG.txt
+1
-1
taggit/managers.py
+5
-0
No files found.
CHANGELOG.txt
View file @
bed957df
Changelog
Changelog
=========
=========
0.10.0 (1
6
.08.2013)
0.10.0 (1
7
.08.2013)
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~
* Support for Django 1.6 and 1.7.
* Support for Django 1.6 and 1.7.
...
...
taggit/managers.py
View file @
bed957df
...
@@ -63,6 +63,10 @@ class ExtraJoinRestriction(object):
...
@@ -63,6 +63,10 @@ class ExtraJoinRestriction(object):
params
=
self
.
content_types
params
=
self
.
content_types
return
extra_where
,
params
return
extra_where
,
params
def
relabel_aliases
(
self
,
change_map
):
self
.
alias
=
change_map
.
get
(
self
.
alias
,
self
.
alias
)
class
TaggableManager
(
RelatedField
,
Field
):
class
TaggableManager
(
RelatedField
,
Field
):
def
__init__
(
self
,
verbose_name
=
_
(
"Tags"
),
def
__init__
(
self
,
verbose_name
=
_
(
"Tags"
),
help_text
=
_
(
"A comma-separated list of tags."
),
through
=
None
,
blank
=
False
):
help_text
=
_
(
"A comma-separated list of tags."
),
through
=
None
,
blank
=
False
):
...
@@ -303,6 +307,7 @@ class TaggableManager(RelatedField, Field):
...
@@ -303,6 +307,7 @@ class TaggableManager(RelatedField, Field):
def
foreign_related_fields
(
self
):
def
foreign_related_fields
(
self
):
return
[
self
.
related_fields
[
0
][
1
]]
return
[
self
.
related_fields
[
0
][
1
]]
class
_TaggableManager
(
models
.
Manager
):
class
_TaggableManager
(
models
.
Manager
):
def
__init__
(
self
,
through
,
model
,
instance
):
def
__init__
(
self
,
through
,
model
,
instance
):
self
.
through
=
through
self
.
through
=
through
...
...
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