Show More
@@ -1,4 +1,4 b'' | |||||
1 | from django.shortcuts import get_object_or_404 |
|
1 | from django.shortcuts import get_object_or_404, redirect | |
2 |
|
2 | |||
3 | from boards.abstracts.settingsmanager import get_settings_manager, \ |
|
3 | from boards.abstracts.settingsmanager import get_settings_manager, \ | |
4 | SETTING_FAVORITE_TAGS, SETTING_HIDDEN_TAGS |
|
4 | SETTING_FAVORITE_TAGS, SETTING_HIDDEN_TAGS | |
@@ -71,7 +71,7 b' class TagView(AllThreadsView, Dispatcher' | |||||
71 | # Ban user because he is suspected to be a bot |
|
71 | # Ban user because he is suspected to be a bot | |
72 | self._ban_current_user(request) |
|
72 | self._ban_current_user(request) | |
73 |
|
73 | |||
74 |
return |
|
74 | return redirect('tag', tag_name) | |
75 |
|
75 | |||
76 | def subscribe(self, request): |
|
76 | def subscribe(self, request): | |
77 | tag = get_object_or_404(Tag, name=self.tag_name) |
|
77 | tag = get_object_or_404(Tag, name=self.tag_name) |
General Comments 0
You need to be logged in to leave comments.
Login now