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
90528d36
authored
Apr 20, 2010
by
Carl Meyer
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 @
90528d36
...
...
@@ -16,4 +16,4 @@ class TagField(forms.CharField):
try
:
return
parse_tags
(
value
)
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 @
90528d36
...
...
@@ -85,7 +85,7 @@ class TaggableManager(object):
def
formfield
(
self
,
form_class
=
TagField
,
**
kwargs
):
defaults
=
{
"label"
:
"Tags"
,
"help_text"
:
"A comma
sepe
rated list of tags."
"help_text"
:
"A comma
-sepa
rated list of tags."
}
defaults
.
update
(
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