linting fixes
This commit is contained in:
parent
f8e51b5826
commit
b82cf887e2
4 changed files with 14 additions and 4 deletions
|
@ -127,7 +127,14 @@ from .setup import InstanceConfig, CreateAdmin
|
|||
from .status import CreateStatus, EditStatus, DeleteStatus, update_progress
|
||||
from .status import edit_readthrough
|
||||
from .updates import get_notification_count, get_unread_status_string
|
||||
from .user import User, Followers, Following, hide_suggestions, user_redirect, toggle_guided_tour
|
||||
from .user import (
|
||||
User,
|
||||
Followers,
|
||||
Following,
|
||||
hide_suggestions,
|
||||
user_redirect,
|
||||
toggle_guided_tour,
|
||||
)
|
||||
from .wellknown import *
|
||||
from .annual_summary import (
|
||||
AnnualSummary,
|
||||
|
|
|
@ -166,6 +166,7 @@ def user_redirect(request, username):
|
|||
"""redirect to a user's feed"""
|
||||
return redirect("user-feed", username=username)
|
||||
|
||||
|
||||
@login_required
|
||||
def toggle_guided_tour(request, tour):
|
||||
"""most people don't want a tour every time they load a page"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue