tests status class view
This commit is contained in:
parent
6c80b128a4
commit
5596277d29
5 changed files with 43 additions and 24 deletions
|
@ -1,6 +1,12 @@
|
|||
''' helper functions used in various views '''
|
||||
import re
|
||||
from requests import HTTPError
|
||||
from django.db.models import Q
|
||||
from bookwyrm import models
|
||||
|
||||
from bookwyrm import activitypub, models
|
||||
from bookwyrm.connectors import ConnectorException, get_data
|
||||
from bookwyrm.utils import regex
|
||||
|
||||
|
||||
def get_user_from_username(username):
|
||||
''' helper function to resolve a localname or a username to a user '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue