mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 22:39:36 +02:00
feat: Refactor user detail view and enhance localization strings for multiple languages
This commit is contained in:
parent
ad5fb02ebb
commit
9c3a52ae85
14 changed files with 121 additions and 66 deletions
|
@ -82,7 +82,6 @@ class PublicUserDetailView(APIView):
|
|||
operation_description="Get public user information."
|
||||
)
|
||||
def get(self, request, username):
|
||||
print(request.user)
|
||||
if request.user.username == username:
|
||||
user = get_object_or_404(User, username=username)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue