Show More
@@ -1,4 +1,5 b'' | |||
|
1 | 1 | import hashlib |
|
2 | import string | |
|
2 | 3 | from django.core.urlresolvers import reverse |
|
3 | 4 | from django.http import HttpResponseRedirect |
|
4 | 5 | from django.template import RequestContext |
@@ -77,7 +78,7 b' def _new_post(request, form, thread_id=b' | |||
|
77 | 78 | if tag_strings: |
|
78 | 79 | tag_strings = tag_strings.split(' ') |
|
79 | 80 | for tag_name in tag_strings: |
|
80 | tag_name = tag_name.strip() | |
|
81 | tag_name = string.lower(tag_name.strip()) | |
|
81 | 82 | if len(tag_name) > 0: |
|
82 | 83 | tag, created = Tag.objects.get_or_create(name=tag_name) |
|
83 | 84 | tags.append(tag) |
General Comments 0
You need to be logged in to leave comments.
Login now