Re: Not avle to login with google in my website

2022-09-25 Thread Mohammad Ehsan Ansari
Add into allowed origin

On Fri, 23 Sep, 2022, 7:20 pm Rajesh Kumar,  wrote:

> Hi All,
> I have integrated the social_django package for social logins like google
> and Fb ...etc.
> But It's working in localhost fine but after deployed in AWS ec2 with
> docker It's not working
> Authorization Error coming: redirect_uri https://0.0.0.0:8000/. but
> it should redirect to HTTPS://{my_domain}/
>
> If anybody can help with that It would be very helpful for me.
> Thanks in advance
>
> Rajesh Kumar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKNDe%3D%3DQTdff8ZzOiHN6wdqcOH1L%3DXU7iE5%2BQj3Dht4o1gNktA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF8ux6LKQ_XxCZYq58cPRGPwFB89MuhtBr8-_r%3D_-fC-D14bmw%40mail.gmail.com.


Re: How do django Field type hints work?

2022-09-25 Thread Muhammad Juwaini Abdul Rahman
My pycharm shows DecimalField as type Any.

On Sat, 24 Sept 2022 at 07:09, Justin Black 
wrote:

> Hello there,
>
> If I have a model:
>
> class Money(models.Model):
> price = models.DecimalField()
>
> m = Money(...)
> pycharm knows that m.price is of type Decimal but when I read through the
> django code base, I don't see DecimalField or Field subclassing
> decimal.Decimal
> And I don't see any registration code that registers DecimalField as type
> Decimal
>
> How does django do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2b1d5103-7aa4-4882-b1a8-f88ec43293d2n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFKhtoTkTffxmHNj6SayrCGs6LwD0Ct%2BLpFZszKEvU%2Bii6oqbQ%40mail.gmail.com.