Re: File in nested serializer

2021-06-20 Thread narendra thapa
class CompanySerializer(serializers.ModelSerializer): company_contact = CompanyContactDetailsGet(many=True,required=False) company_logo_details = CompanyLogoGet(many=True,required=False) class Meta: model = company_details fields =

Re: register_converter doesn't work with ASGI

2021-06-20 Thread Andrew Godwin
Ah yes, that's because the URL parsing/conversion all happens in the main (async, in ASGI mode) thread - and because to_python is a a synchronous function interface, there is literally nothing you can do to make it work. The only real way of fixing this would be for Django to patch the URL

Re: location based web app with django and geodjango

2021-06-20 Thread Stathis Angelou
Good evening all, following my application development, I have reached to the stage where I am about to add some data using data migrations. I did download some data from OSM (saved as json), added a load data function but when i run the migrate command I get a keyerror in my migration files:

Re: PLS HELP!! - SCRAPE YOUTUBE CHANNEL EMAIL

2021-06-20 Thread Jacob Greene
Might be easier and more reliable to use the API. https://developers.google.com/youtube/v3 On Sun, Jun 20, 2021, 7:21 AM Priyesh Ranjan wrote: > yes i can do that for you > > On Sun, Jun 20, 2021 at 6:29 AM Vrushang Desai > wrote: > >> Hi Guys , >> Anyone knows how to scrape Youtube Channels

Re: Need help on RedirectView

2021-06-20 Thread Hello Singh
Thanks, David Sir It help me a lot. On Sun, 20 Jun 2021, 18:21 David Nugent, wrote: > It is just a method on the Article model. Don't copy-paste what is there, > understand what it is doing. > > In this *example*, update_counter() will be defined in > Article(models.Model), probably in

Re: Need help on RedirectView

2021-06-20 Thread David Nugent
It is just a method on the Article model. Don't copy-paste what is there, understand what it is doing. In this *example*, update_counter() will be defined in Article(models.Model), probably in models.py in the app. You obliged to use anything like this in your redirect. HTH, On Sun, Jun 20,

Re: PLS HELP!! - SCRAPE YOUTUBE CHANNEL EMAIL

2021-06-20 Thread Priyesh Ranjan
yes i can do that for you On Sun, Jun 20, 2021 at 6:29 AM Vrushang Desai wrote: > Hi Guys , > Anyone knows how to scrape Youtube Channels Emails? > > With Django/Python? > > If yes, > Pls reply! > Thanks. > > -- > You received this message because you are subscribed to the Google Groups >

Re: [URGENT] -  Scrape Youtube Channel Email | Bypass Captcha 

2021-06-20 Thread Kasper Laudrup
On 19/06/2021 23.59, Vrushang Desai wrote: > Hi guys, > *I'm trying to bypass youtube captcha & download email of the channel > owner.* > You can't bypass a captcha programmatically, that's the whole point of a captcha. > I would really like to know how can one actually solve it? > You can't,

Re: Help me Please - Django and python program

2021-06-20 Thread Luciano Martins
Post your code on github and provide the link here Em sábado, 19 de junho de 2021 às 22:00:24 UTC-3, mayanksand...@gmail.com escreveu: > I have a few errors in my program. > 1. HTML > In my front view only my last text box is working and all the upper text > boxes are unassessable. > 2.

Re: PLS HELP!! - SCRAPE YOUTUBE CHANNEL EMAIL

2021-06-20 Thread Luciano Martins
Do you want to download gmail content? Em sábado, 19 de junho de 2021 às 22:00:01 UTC-3, vrusha...@gmail.com escreveu: > Hi Guys , > Anyone knows how to scrape Youtube Channels Emails? > > With Django/Python? > > If yes, > Pls reply! > Thanks. > -- You received this message because you are

Re: Problem to connect to database only when run "migrate"

2021-06-20 Thread Luciano Martins
have you configured mysql database in settings.py? Em sábado, 19 de junho de 2021 às 09:19:09 UTC-3, her...@gmail.com escreveu: > Hello, > > I getting problem to connect to database only when run "migrate". I'm able > to use on apache/wsgi and runserver, so it's seens that connection to >

Re: help me plz: getting error while importing csv file into database

2021-06-20 Thread Luciano Martins
you have to pass the 'path' variable into open I believe that's it Em sexta-feira, 18 de junho de 2021 às 15:22:41 UTC-3, rammano...@gmail.com escreveu: > Hi > i am trying to import the csv file data into database > my views.py > def Filter(request): > if request.method=="POST": >