Show More
@@ -425,12 +425,12 b' class ThreadForm(PostForm):' | |||
|
425 | 425 | tag_set = set() |
|
426 | 426 | for tag_string in tags.split(): |
|
427 | 427 | if tag_string.strip().lower() == default_tag_name: |
|
428 | required = True | |
|
429 | required_tag_exitst = True | |
|
428 | required_tag_exists = True | |
|
429 | tag, created = Tag.objects.get_or_create( | |
|
430 | name=tag_string.strip().lower(), required=True) | |
|
430 | 431 | else: |
|
431 | required = False | |
|
432 | 432 | tag, created = Tag.objects.get_or_create( |
|
433 |
name=tag_string.strip().lower() |
|
|
433 | name=tag_string.strip().lower()) | |
|
434 | 434 | tag_set.add(tag) |
|
435 | 435 | |
|
436 | 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