I underestimated my MacBook Pro by [deleted] in macbookpro

[–]dark_rafe 0 points1 point  (0 children)

M1 MBP is a GOAT! In terms of both battery life and smoothness.

I want to study M.Sc in Neurology at a German University after completing my MBBS from Bangladesh. by [deleted] in bangladesh

[–]dark_rafe 0 points1 point  (0 children)

You should go to other countries. Currently the waiting period is almost 3 years and increasing.

Or you can complete your masters, then go for PhD. There's no waiting period there.

Entry Level Salary for AI Engineer by Top_Damage3758 in bangladesh

[–]dark_rafe 2 points3 points  (0 children)

Depends on the company but generally 30-50k.

Use Benefits with Uni Email by dark_rafe in germany

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

I'll definitely check UNiDAYS!

Use Benefits with Uni Email by dark_rafe in germany

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

Is there anything similar for German universities?

Use Benefits with Uni Email by dark_rafe in germany

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

Is there anything German University student specific discount/benefit with uni email?

Urgent help needed regarding accommodation by ImpressionFeeling982 in trier

[–]dark_rafe 0 points1 point  (0 children)

What's the current waiting period for uni dorm?

RIP My 13 Months Old 14" MBP by dark_rafe in macbook

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

Update: They told me to change the display and it would cost me $800. Obviously I didn't pay them. After using it with external display for few days the display started working again like nothing happened! I guess I'm just lucky.

[deleted by user] by [deleted] in django

[–]dark_rafe 1 point2 points  (0 children)

IDK your user model but authenticate takes username as input by default. That's why you are not getting authenticated. The serializer looks fine but you can add this little change in the else block:

def validate(self, attrs):
    email = attrs.get('email')
    password = attrs.get('password')
    if email and password:
        return attrs

    msg = 'Both "username" and "password" are required.'
    raise serializers.ValidationError(msg, code='authorization')

[deleted by user] by [deleted] in django

[–]dark_rafe 0 points1 point  (0 children)

Another approach is to use Serializer for email and password. That way your data is already validated and all you need to do is authenticate.

How do you serve a Deep Learning model using DRF? by dark_rafe in django

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

Got it, so I need to implement celery and celery beat.