Re: DRF - request.user returns None

2022-08-26 Thread Lipede Tope
Check if the user is authenticated Eg if user.is_authentucated On Fri, Aug 26, 2022, 3:11 PM Lipede Tope wrote: > > > On Fri, Aug 26, 2022, 2:40 PM Jackson Patrick > wrote: > >> I am trying to get user using request.user and when printing gets None >> and in console it shows >> "Annoymous

Re: Job -Fullstack python expert ( Django framework)

2022-08-26 Thread Kazuya Nomura
I am interested On Thursday, August 18, 2022 at 12:04:11 PM UTC-7 pcintegral@gmail.com wrote: > This project is very straight to the point. We are building a micro > service on top of Django framework. We currently have a virtual private > cloud on DO and will like to migrate to AWS in

Re: Web scraping using python

2022-08-26 Thread Lakshyaraj Dash
Hey you can follow this tutorial for having a basic knowledge of web scrapping using python. https://youtu.be/pF3KXOnxqr4 On Fri, Aug 26, 2022, 19:10 Favour Nwachukwu wrote: > How do I scrap innerhtml using python(beautifulsoup)? > > -- > You received this message because you are subscribed to

DRF - request.user returns None

2022-08-26 Thread Jackson Patrick
I am trying to get user using request.user and when printing gets None and in console it shows "Annoymous user". and am using simple jwt -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread Vj Vijay
Api can make your website versatilewhat I mean by that is that your website can communicate with all type of users easily with the help of API almost most of the production ready applications front end and backend are built seperately so you need API to communicate On Fri, Aug 26, 2022, 8:48

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread ADAMSON BELLO
You need the Django rest api framework if your app would be distributed through many chanels. Le ven. 26 août 2022 à 05:57, Paul serubombwe a écrit : > Its a requirement if your application is using 1. a fronted framework, > 2. If your going to integrate APIs for instance payment APIs etc. And

Web scraping using python

2022-08-26 Thread Favour Nwachukwu
How do I scrap innerhtml using python(beautifulsoup)? -- 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

Re: e React and Django auth

2022-08-26 Thread Hubert Kanyamahanga
Hi Ade, First of all, you will need to implement the authentication in your backend with drf and this https://django-rest-framework-simplejwt.readthedocs.io/en/latest/getting_started.html module will do almost everything for you. Then after you can look at how to consume your API with ReactJs.

Re: e React and Django auth

2022-08-26 Thread Adebileje Nurudeen
Hello... Have you seen someone that can put you through or help you out on the bugs you're facing?? If not, then I am assuring you that I can proffer to the problem and as well give details on how you'll solve it in case of next time... You can message me through my mail lordnar...@gmail.com

Re: page index.html

2022-08-26 Thread hajar Benjat
you have *DEBUG=False* in your *project.settings.py * and you need to edit allowed hosts that is required for security reasons, example : *ALLOWED_HOSTS=[".example.com " , "127.0.0.1:8000 ","localhost:port"]* or

Re: page index.html

2022-08-26 Thread ALBERT ASHABA AHEEBWA
Hello, Make sure in your project folder settings.py file has DEBUG=True and ALLOWED_HOSTS=[]. set debug to true and allowed hosts to empty list. And ensure no local server is running before you runserver again On Fri, Aug 26, 2022 at 12:42 PM REMY TOUITOU wrote: > hello , when i try to make the

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread Paul serubombwe
Its a requirement if your application is using 1. a fronted framework, 2. If your going to integrate APIs for instance payment APIs etc. And its also good in authentication. On Aug 26, 2022 6:19 AM, "Ryan Nowakowski" wrote: > On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote: > > I

Re: page index.html

2022-08-26 Thread REMY TOUITOU
hello , when i try to make the server running , it is written: commanderror:you must set settings.ALLOWED_hosts if debug is false thanks you Le jeu. 25 août 2022 à 14:32, ALBERT ASHABA AHEEBWA < ashabaaheebwaalb...@gmail.com> a écrit : > No. There is no space. It's just "runserver". One word > >