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
89690acc
authored
Apr 21, 2010
by
Carl Meyer
Committed by
Alex Gaynor
Apr 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spelling
parent
bfeafd17
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
taggit/forms.py
+1
-1
taggit/managers.py
+1
-1
No files found.
taggit/forms.py
View file @
89690acc
...
@@ -16,4 +16,4 @@ class TagField(forms.CharField):
...
@@ -16,4 +16,4 @@ class TagField(forms.CharField):
try
:
try
:
return
parse_tags
(
value
)
return
parse_tags
(
value
)
except
ValueError
:
except
ValueError
:
raise
forms
.
ValidationError
(
"Please provide a comma
seperate
list of tags."
)
raise
forms
.
ValidationError
(
"Please provide a comma
-separated
list of tags."
)
taggit/managers.py
View file @
89690acc
...
@@ -85,7 +85,7 @@ class TaggableManager(object):
...
@@ -85,7 +85,7 @@ class TaggableManager(object):
def
formfield
(
self
,
form_class
=
TagField
,
**
kwargs
):
def
formfield
(
self
,
form_class
=
TagField
,
**
kwargs
):
defaults
=
{
defaults
=
{
"label"
:
"Tags"
,
"label"
:
"Tags"
,
"help_text"
:
"A comma
sepe
rated list of tags."
"help_text"
:
"A comma
-sepa
rated list of tags."
}
}
defaults
.
update
(
kwargs
)
defaults
.
update
(
kwargs
)
return
form_class
(
**
kwargs
)
return
form_class
(
**
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