Re: Unable to run requests-html functions from Django views

2021-03-24 Thread Prashanjeet Halder
On Thursday, March 25, 2021 at 8:12:46 AM UTC+5:30 Prashanjeet Halder wrote: > Hello all, > I'm trying to run a python script that uses requests-HTML library every > time a view is triggered but getting an error. > > -- You received this message because you are subscribed to the Google Groups

Unable to run requests-html functions from Django views

2021-03-24 Thread Prashanjeet Halder
Hello all, I'm trying to run a python script that uses requests-HTML library every time a view is triggered but getting an error. -- 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,

Re: Data from form is not being saved in DB

2021-03-24 Thread Prashanjeet Halder
Hello, Answer to your first question: You don't have to explicitly mention action attr. without that too it is possible to achieve the same operation. you can check "practice04" in this Repository : For reverse match error: specifying app_name u

Re: Facing an issue in running a Django problem

2021-03-24 Thread Prashanjeet Halder
I don't have much idea about tesorflow. This is what i found on web : https://www.codegrepper.com/code-examples/python/AttributeError%3A+module+%27tensorflow%27+has+no+attribute+%27get_default_session%27 See if that helps. On Thursday, March 25, 2021 at 2:00:56 AM UTC+5:30 Kasper Laudrup wrote:

Re: Facing an issue in running a Django problem

2021-03-24 Thread Kasper Laudrup
On 24/03/2021 10.39, Saravanan R wrote: > > I have tried different methods to get rid of this error  > But I was unable to do so It would be nice if you could tell us what "this error" is instead of sending very hard to read pictures with your phone. I'm not much of a Windows user, but I'm fairly

Data from form is not being saved in DB

2021-03-24 Thread Герман Свердлов
Hi all! I'm newbie in Django, still trying to figure out how everything works and this is my first back end framework, that I'm using. Currently building an app like booking.com but for commercial property. Among others I have models that represent office centers and office spaces this is one

Re: Django application is slow

2021-03-24 Thread Benjamin Schollnick
> I have checked on the developer tool Waiting (TTFB) is taking 6 seconds. no > query is taking long i am sharing a picture of the developer tool response > you can have a look. > That’s the devtools from the browser? That has no visibility to your django queries, etc. Install Django Debug

Re: Django application is slow

2021-03-24 Thread Benjamin Schollnick
> Dear Programmers, > my Django application is big and slow any leads on how to make it fast > responsive. In my experience, if the Django application is slow, it’s often related to the database either queries, or the database engine is scaled correctly. (Of course, that’s assuming the compute

Re: Django application is slow

2021-03-24 Thread Omkar Parab
I haven't tried this yet. so can't tell you much about it. On Wed, Mar 24, 2021, 2:12 PM Israr Hussain Rao < israrhussainrao5...@gmail.com> wrote: > I am trying this but i am coınfused either i have to make a > separate function or i have to just install Memcache and add the > cahe binding to the

Re: Best and affordable payment gateway for shopping carts

2021-03-24 Thread pankaj palmate
What about paypal? On Tue, 23 Mar, 2021, 6:30 pm Ram, wrote: > Hi, > > We are exploring best payment gateway for a Django based web and mobile > application. Our criteria for choosing this payment gateway is like this: > > 1. Looking for either affordable or free option > > 2. Suitable for user

Re: Django application is slow

2021-03-24 Thread Israr Hussain Rao
I am trying this but i am coınfused either i have to make a separate function or i have to just install Memcache and add the cahe binding to the settings On Wed, Mar 24, 2021 at 10:38 AM Omkar Parab wrote: > Django documentation 👇 > https://docs.djangoproject.com/en/3.1/topics/cache/ > > On W

Re: Django application is slow

2021-03-24 Thread Omkar Parab
Django documentation 👇 https://docs.djangoproject.com/en/3.1/topics/cache/ On Wed, Mar 24, 2021, 1:52 PM Israr Hussain Rao < israrhussainrao5...@gmail.com> wrote: > I have rechecked my code and did my best to shorten the code and > removed unused javascript as well. > I will recheck my server c

Re: Django application is slow

2021-03-24 Thread Israr Hussain Rao
I have rechecked my code and did my best to shorten the code and removed unused javascript as well. I will recheck my server capability as well. do you know about the Django cache technique? how can i use it? On Wed, Mar 24, 2021 at 10:17 AM Omkar Parab wrote: > Check, if your server is cap

Re: Django application is slow

2021-03-24 Thread Omkar Parab
Check, if your server is capable of handling huge requests or not. Remove unused JavaScript. Check your querysets. On Wed, Mar 24, 2021, 1:31 PM Israr Hussain Rao < israrhussainrao5...@gmail.com> wrote: > Dear Programmers, > my Django application is big and slow any leads on how to make it fast

Django application is slow

2021-03-24 Thread Israr Hussain Rao
Dear Programmers, my Django application is big and slow any leads on how to make it fast responsive. -- 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

Re: Best and affordable payment gateway for shopping carts

2021-03-24 Thread MUGOYA DIHFAHSIH
In my current project i implemented Cash On Delivery method, I hope it would be also suitable for your project too. On Tue, 23 Mar 2021 at 20:42, JC Briar wrote: > Stripe.com > > On Tuesday, March 23, 2021 at 6:00:58 AM UTC-7 ram.mu...@gmail.com wrote: > >> Hi, >> >> We are exploring best paymen