1
0
Fork 0
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:
Sean Morley 2025-02-03 19:56:25 -05:00
parent ad5fb02ebb
commit 9c3a52ae85
14 changed files with 121 additions and 66 deletions

View file

@ -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: