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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
e6c90946
authored
Mar 13, 2014
by
Florian Apolloner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't set through in Django < 1.7 (validation doesn't allow it).
parent
58d73e36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
taggit/managers.py
+2
-2
No files found.
taggit/managers.py
View file @
e6c90946
...
@@ -35,7 +35,7 @@ class TaggableRel(ManyToManyRel):
...
@@ -35,7 +35,7 @@ class TaggableRel(ManyToManyRel):
self
.
limit_choices_to
=
{}
self
.
limit_choices_to
=
{}
self
.
symmetrical
=
True
self
.
symmetrical
=
True
self
.
multiple
=
True
self
.
multiple
=
True
self
.
through
=
through
self
.
through
=
None
if
VERSION
<
(
1
,
7
)
else
through
self
.
field
=
field
self
.
field
=
field
def
get_joining_columns
(
self
):
def
get_joining_columns
(
self
):
...
@@ -93,7 +93,7 @@ class TaggableManager(RelatedField, Field):
...
@@ -93,7 +93,7 @@ class TaggableManager(RelatedField, Field):
def
deconstruct
(
self
):
def
deconstruct
(
self
):
name
,
path
,
args
,
kwargs
=
super
(
TaggableManager
,
self
)
.
deconstruct
()
name
,
path
,
args
,
kwargs
=
super
(
TaggableManager
,
self
)
.
deconstruct
()
for
kwarg
in
[
'serialize'
,
'null'
]
:
for
kwarg
in
(
'serialize'
,
'null'
)
:
del
kwargs
[
kwarg
]
del
kwargs
[
kwarg
]
return
name
,
path
,
args
,
kwargs
return
name
,
path
,
args
,
kwargs
...
...
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