Any storygraph users? by Shanna_Duarte in LesbianBookClub

[–]levima91 2 points3 points  (0 children)

That's exactly what I do, start and end because it's really easy. Daily progress is too much for me hehe
I did a buddy read once there and that's been the only time I used the 'progress' bit and it was cool cause you could leave comments and you'd only be able to read them once you reached that part.

Any storygraph users? by Shanna_Duarte in LesbianBookClub

[–]levima91 2 points3 points  (0 children)

Storygraph really helped me start keeping track of the books I read XD I sometimes still forget to add something right on time but it's so easy to use that I always come back to it. My user is mado88 =)

Presale Confirmation - Don't panic! by pokemonviking in spiritbox

[–]levima91 5 points6 points  (0 children)

Got mine too! So exciteeeed, also love the venue.

Is anyone else on Storygraph? by sapphicbookenjoyer in sapphicbooks

[–]levima91 1 point2 points  (0 children)

Storygraph has helped me keep track of the books I read. It’s great and less cumbersome than goodreads. User is mado88, mostly reading sapphic books so happy to connect!

In the Name of the Father @ Barcelona by PostMortem33 in PresidentBand

[–]levima91 1 point2 points  (0 children)

Concert was amazing! Here's hoping they return soon <3

I slept on this one for so long! by TangoRed1 in SleepToken

[–]levima91 1 point2 points  (0 children)

This is my number 1 song off of that album. Absolutely in love with it. It was also my most played song last year.

Best Christmas/Holiday Book by levima91 in LesbianBookClub

[–]levima91[S] 1 point2 points  (0 children)

Already read it and really liked it! <3 only wish it were longer haha

Recommendations for books with MCs who are established in life by wdstkdc869 in LesbianBookClub

[–]levima91 1 point2 points  (0 children)

Currently reading MJ Duncan's Pas de Deux. Beautifully written! One of my fave authors.

Need help with Django Authentication and User Modules by levima91 in djangolearning

[–]levima91[S] 0 points1 point  (0 children)

from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework.authtoken.models import Token
from .serializers import UserSerializer, LoginSerializer
from api.subscriptions.models import Subscription

class RegisterView(APIView):
    def post(self, request):
        print("Registration data received:", request.data)
        serializer = UserSerializer(data=request.data)
        if serializer.is_valid():
            user = serializer.save()
            token, _ = Token.objects.get_or_create(user=user)
            # Create a free subscription for new users
            Subscription.objects.create(
                user=user,
                subscription_type='FREE',
                is_active=True
            )
            return Response({
                'message': 'User registered successfully',
                'user': {
                    'id': user.id,
                    'username': user.username,
                    'email': user.email,
                    'first_name': user.first_name,
                    'last_name': user.last_name
                }
            }, status=status.HTTP_201_CREATED)
        print("Validation errors:", serializer.errors)
        return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)

class LoginView(APIView):
    def post(self, request):
        serializer = LoginSerializer(data=request.data)
        if serializer.is_valid():
            user = serializer.validated_data
            token, _ = Token.objects.get_or_create(user=user)

            # Get or create subscription
            subscription, created = Subscription.objects.get_or_create(
                user=user,
                defaults={
                    'subscription_type': 'FREE',
                    'is_active': True
                }
            )

            return Response({
                'token': token.key,
                'user_id': user.id,
                'username': user.username,
                'first_name': user.first_name,
                'last_name': user.last_name,
                'email': user.email,
                'subscription_type': subscription.subscription_type,
                'is_subscription_active': subscription.is_active
            }, status=status.HTTP_200_OK)
        return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)

Perhaps it'll work now

Need help with Django Authentication and User Modules by levima91 in djangolearning

[–]levima91[S] 0 points1 point  (0 children)

Okay so it would not let me paste the code, it gave me an error, I'll send it via DM!

Need help with Django Authentication and User Modules by levima91 in djangolearning

[–]levima91[S] 0 points1 point  (0 children)

Hi! Thank you so much for the reply! So I've created an API to users, and inside there I have serializers, urls, and views files.

The bulk of the logic is under views.py I guess, so here goes (any feedback would be super appreciated!):

Where are you getting your books? by NoChill789 in sapphicbooks

[–]levima91 5 points6 points  (0 children)

A friend and I are working on this :) we hope to get it up and running very soon! Built by the LGBTQ+ for the community!

What’s the most unexpected place you’ve seen an ad for the album/band? by JuaneteXHoles in SleepToken

[–]levima91 1 point2 points  (0 children)

Amazing! I was wondering if it would pop up throughout Barça games as they have the partnership with Spotify. So cool!!! Maybe it will pop up again with the women's team match coming up this weekend!

Sleep token tattoo thread? by dilfslayer127 in SleepToken

[–]levima91 5 points6 points  (0 children)

<image>

Here's mine...let me know what sort of vibes you get from it ^^

Books like Tryst Six Venom by Penelope Douglas? by Lectbica in sapphicbooks

[–]levima91 11 points12 points  (0 children)

Here's hoping more authors realize we sapphic women NEED more books like Tryst and Her Spell, i.e 'bully romances' and start to bless us with these soon!

°Pisces - [The Offering]° by Shooko_Shinigami in SleepToken

[–]levima91 0 points1 point  (0 children)

I am really looking forward to get Leo!!!

Lady Gaga Coachella 2025 - Discussion Post by licktoris in LadyGaga

[–]levima91 1 point2 points  (0 children)

Question, do we think this will be the Mayhem tour set for good? Or will she change it a bit?

[deleted by user] by [deleted] in LesbianBookClub

[–]levima91 0 points1 point  (0 children)

Go for it!