Show More
@@ -425,12 +425,12 b' class ThreadForm(PostForm):' | |||||
425 | tag_set = set() |
|
425 | tag_set = set() | |
426 | for tag_string in tags.split(): |
|
426 | for tag_string in tags.split(): | |
427 | if tag_string.strip().lower() == default_tag_name: |
|
427 | if tag_string.strip().lower() == default_tag_name: | |
428 | required = True |
|
428 | required_tag_exists = True | |
429 | required_tag_exitst = True |
|
429 | tag, created = Tag.objects.get_or_create( | |
|
430 | name=tag_string.strip().lower(), required=True) | |||
430 | else: |
|
431 | else: | |
431 | required = False |
|
|||
432 | tag, created = Tag.objects.get_or_create( |
|
432 | tag, created = Tag.objects.get_or_create( | |
433 |
name=tag_string.strip().lower() |
|
433 | name=tag_string.strip().lower()) | |
434 | tag_set.add(tag) |
|
434 | tag_set.add(tag) | |
435 |
|
435 | |||
436 | # If this is a new tag, don't check for its parents because nobody |
|
436 | # If this is a new tag, don't check for its parents because nobody |
General Comments 0
You need to be logged in to leave comments.
Login now