Re: Help me - Django and python

2021-06-21 Thread DJANGO DEVELOPER
I think you're not returning anything in your model. On Tue, Jun 22, 2021 at 11:24 AM DJANGO DEVELOPER wrote: > can you please share your login view code? > > On Tue, Jun 22, 2021 at 10:12 AM avdesh sharma > wrote: > >> Hi All, >> >> I have an issue coming in my django code, even though the use

Re: Help me - Django and python

2021-06-21 Thread DJANGO DEVELOPER
can you please share your login view code? On Tue, Jun 22, 2021 at 10:12 AM avdesh sharma wrote: > Hi All, > > I have an issue coming in my django code, even though the user id and > password is present in sqlite3 db still the user is giving '*None'* > value > user = authenticate(username=usern

Help me - Django and python

2021-06-21 Thread avdesh sharma
Hi All, I have an issue coming in my django code, even though the user id and password is present in sqlite3 db still the user is giving '*None'* value user = authenticate(username=username, password=password) and I am not able to login with user and throwing this error. [image: image.png]

Re: Help me Please - Django and python program

2021-06-21 Thread mayank sandikar
hello , sir your mobile no. is not on whatsapp. please assist me with this On Mon, Jun 21, 2021 at 10:09 PM Onyemordi Daniel wrote: > Hello, have your problem been solved if no kindly contact me on WhatsApp > 08167997730 to assist you better. > > On Mon, 21 Jun 2021, 07:07 mayank sandikar, < >

Re: struck at gettiing each product urls from addidas website

2021-06-21 Thread RANGA BHARATH JINKA
Hi, Try to print all the variables one by one. You will get to know from where the issue is coming from. All the best On Tue, Jun 22, 2021 at 10:06 AM ram manoj Vuyyuru < rammanojvuyy...@gmail.com> wrote: > Hi previous one prints nothing > > and this is another way but getting nothing > > import

Re: struck at gettiing each product urls from addidas website

2021-06-21 Thread ram manoj Vuyyuru
Hi previous one prints nothing and this is another way but getting nothing import requests from bs4 import BeautifulSoup base_url="https://www.adidas.com.my/en/men-shoes/"; headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.362

Re: Using ORM to retrieve values (REAL) from SQLite database to round to 2 decimal places

2021-06-21 Thread Lalit Suthar
That's great the way you found the workaround :D We can also try writing raw sql queries to use sql functions https://docs.djangoproject.com/en/2.2/topics/db/sql/#executing-custom-sql-directly But that has some security issues since we have to pass a search parameter into it. On Mon, 21 Jun 2021

Re: struck at gettiing each product urls from addidas website

2021-06-21 Thread Lalit Suthar
print(links) outside for loop. Even then if nothing prints means your `listings` is empty On Tue, 22 Jun 2021 at 08:51, ram manoj Vuyyuru wrote: > HI > help me for getting urls for each product > import pandas as pd > import requests > from bs4 import BeautifulSoup as bs > > > url = "https://www

struck at gettiing each product urls from addidas website

2021-06-21 Thread ram manoj Vuyyuru
HI help me for getting urls for each product import pandas as pd import requests from bs4 import BeautifulSoup as bs url = "https://www.adidas.com.my/en/men-shoes?start=0"; page = requests.get(url) soup = bs(page.text,"html.parser") links=[] listings = soup.find_all('div',{'class':'grid-item___3

Django Admin: object history not working

2021-06-21 Thread Ryan Kite
Hello, The issue is when clicking the "History" button on an object from the Django admin site, it opens to the template but says "*This object doesn't have a change history. It probably wasn't added via this admin site."* >From reading the docs it appears that: *history_view*() already exists

Re: 🚨[URGENT] - 😥 Scrape Youtube Channel Email | Bypass Captcha 👀

2021-06-21 Thread Franck Tchouanga
https://www.fiverr.com/share/GdrzWd On Mon, Jun 21, 2021 at 7:22 PM VISHESH MANGLA < f20170...@pilani.bits-pilani.ac.in> wrote: > Use selenium > > On Sun, Jun 20, 2021, 06:29 Vrushang Desai > wrote: > >> Hi guys, >> *I'm trying to bypass youtube captcha & download email of the channel >> owner.*

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

2021-06-21 Thread Heron
Yes, And its works fine with runserver, check or with apache/wscgi regards, _ Heron hero...@gmail.com _ Em dom., 20 de jun. de 2021 às 07:31, Luciano Martins escreveu: > > have you configured mysql database in settings.py? > Em sábado, 19 de junho de 2021 às 0

Django-tenants-schema and django-tenant

2021-06-21 Thread classudeh
Hello friends,Am having a big challenge hosting django-tenant-schemas I currently have one hosted in heroku but does not route the subdomain created for example I cant access sub.mydomain.com but mydomain.com works have tried wildcard on the subsomain through the domain hosting platform but no r

Re: 🚨[URGENT] - 😥 Scrape Youtube Channel Email | Bypass Captcha 👀

2021-06-21 Thread VISHESH MANGLA
Use selenium On Sun, Jun 20, 2021, 06:29 Vrushang Desai wrote: > Hi guys, > *I'm trying to bypass youtube captcha & download email of the channel > owner.* > > I would really like to know how can one actually solve it? > > As I'm facing issues with youtube, > > *Where captcha disappears (Even if

Re: Using ORM to retrieve values (REAL) from SQLite database to round to 2 decimal places

2021-06-21 Thread Wai Yeung
Thanks for the quick response Lalit, Django "Round" rounds to the nearest integer whereas SQLite "round" allows you to pass in a second parameter to to round "rounded to Y digits to the right of the decimal point" (https://sqlite.org/lang_corefunc.html#round). That said, since Django "Round" does

Re: Help me Please - Django and python program

2021-06-21 Thread Onyemordi Daniel
Hello, have your problem been solved if no kindly contact me on WhatsApp 08167997730 to assist you better. On Mon, 21 Jun 2021, 07:07 mayank sandikar, wrote: > https://github.com/Mayanksandikar/3-database > > > On Sun, Jun 20, 2021 at 4:08 PM Luciano Martins > wrote: > >> Post your code on gith

Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Alejandro Garrido Gongora
For big problems the answer is in 99% of cases split the problem, maybe your problem is your architecture, also you will need cache, also Async, maybe you need to en queue some routines maybe you need more hardware, maybe you need to optimize your data structures, maybe the join of all those so

Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread carlos
maybe try used cache when call many users https://www.django-rest-framework.org/api-guide/caching/ Cheers On Mon, Jun 21, 2021 at 8:18 AM Kasper Laudrup wrote: > On 21/06/2021 15.55, Sunday Iyanu Ajayi wrote: > > I want to be able to manage API calls from over 1 users without > > getting ne

Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Kasper Laudrup
On 21/06/2021 15.55, Sunday Iyanu Ajayi wrote: > I want to be able to manage API calls from over 1 users without > getting network timeout errors Are you having issues doing so now? What have you done to try and profile your code for bottlenecks? What kind of help are you looking? Paid consu

Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Sunday Iyanu Ajayi
I want to be able to manage API calls from over 1 users without getting network timeout errors *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Mon, Jun 21, 2021 at 2:33 PM Chetan Ganji wrote: > What is the problem you are trying to solve? > What do you want to optimize exac

Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Chetan Ganji
What is the problem you are trying to solve? What do you want to optimize exactly? 🤔 I hope this helps you - https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Mon, Jun 21, 2021 a

Re: PLS HELP!! - SCRAPE YOUTUBE CHANNEL EMAIL

2021-06-21 Thread Sunday Iyanu Ajayi
You can use python package : beautifulsoup and selenium *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sun, Jun 20, 2021 at 1:59 AM Vrushang Desai wrote: > Hi Guys , > Anyone knows how to scrape Youtube Channels Emails? > > With Django/Python? > > If yes, > Pls reply! > Thanks

Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Sunday Iyanu Ajayi
Dear Team, Please I need help on how to optimize API requests calls for over 10,000 users simultaneously without any issues and my system spec is 8vCPUs, 16GB RAM. Regards *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * -- You received this message because you are subscribed to th

Re: register_converter doesn't work with ASGI

2021-06-21 Thread Konstantin Kuchkov
Thanks for the explanation! To get it working, I will replace my model converters with basic converters and do corresponding lookups in the views. On Sunday, 20 June 2021 at 16:16:58 UTC-7 Andrew Godwin wrote: > Ah yes, that's because the URL parsing/conversion all happens in the main > (async