Re: From old-school Post/Redirect/Get to modern web (2018)

2018-09-05 Thread guettli
Hi Jason and other django users, thank you very much for your reply. I think this whole thing is more about feelings than about technical details. I love Python and my team mates like it. No one in my team loves JavaScript. We are lazy. We are doing Python and PostgreSQL since several years a

Re: Need help for saving JSON object into Django Model (class object)

2018-09-05 Thread Sonali Vighne
Thanks , it works for me. there is minor changes request.data is not working, so I tried request.body and then extracted value from dict. Do you know any other way to it without using dict. if yes please , help with same. On Tuesday, September 4, 2018 at 8:29:58 PM UTC+5:30, pgopa...@gmail.com

Re: From old-school Post/Redirect/Get to modern web (2018)

2018-09-05 Thread Jason
Yeah, I get what you mean. Used to work at a Java shop using Google Web Toolkit to build their web application, and it was ok. Until you tried to do something that GWT didn't like and had to figure workarounds. The reason GWT was picked was everyone in the company knew Java, and not JS. Tha

Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Jason
what version mysqlclient are you using? according to the docs, you need 1.3.7 or higher -- 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..

Subgroups Implementation (from LDAP)

2018-09-05 Thread Benjamin SOULAS
Hi everyone, I m not expert at all in Django so it can be a silly question but I take the risk: I have to implement *LDAP server* (which work perfectly with *django-auth-ldap*, but my question is not related to this library). I was wondering what happens if groups possesses subgroups? Even if

Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Deepak Kumar jha
Yes, i am using mysqlclient 1.3.13 -- 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 post to this group, send email t

Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Vivek Jha
Use postgres instead of MySql On Wed 5 Sep, 2018, 8:58 AM Deepak Kumar jha, wrote: > deepak@deepak-HP-Pavilion-x360-Convertible:~/Desktop/mini_project/tutor$ > python manage.py runserver > Unhandled exception in thread started by check_errors..wrapper at 0x7f1f1d2e5b70> > Traceback (most recent

Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Gagan Kalia
With Anaconda distribution, use conda install command rather than using pip. On Wed 5 Sep, 2018, 7:23 PM Deepak Kumar jha, wrote: > Yes, i am using mysqlclient 1.3.13 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Everett White
Hey yay -- 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 post to this group, send email to django-users@googlegroup

Re: Trying to update pip in a venv enviroment using python 3.7 but an error occur.

2018-09-05 Thread Bill Kachirsky
I've run into this problem, I use get-pip.py (https://bootstrap.pypa.io/get-pip.py) to update pip to the latest version when I start a new venv. Just save that script and run it with 'python get-pip.py' when you have the venv active. On Tuesday, September 4, 2018 at 6:14:40 AM UTC-7, Christian

mod_wsgi-express and letsencrypt

2018-09-05 Thread Joel Mathew
Has anyone used mod_wsgi-express with letsencrypt certificates on apache2? On running mod_wsgi-express like this: mod_wsgi-express start-server --log-to-terminal --startup-log --https-port 443 --https-only --server-name mysite.com --ssl-certificate-file ssl-certs/fullchain.pem --ssl-certificate-k

Re: Subgroups Implementation (from LDAP)

2018-09-05 Thread Mike Dewhirst
On 5/09/2018 11:25 PM, Benjamin SOULAS wrote: Hi everyone, I m not expert at all in Django so it can be a silly question but I take the risk: I'm an expert in nothing! What about simplifying things by making your groups have smaller sets of permisssions and putting users into multiple group

LiveServerTestCase non-deterministic Remote end closed connection without response

2018-09-05 Thread Rares Vernica
Hello, I have a test script starting a live server using LiveServerTestCase. The test script issues requests to the server using requests.Session. At random points in the script the Django server decides to close the connection without a response. Here are some more details. My test script is

using extends more than once

2018-09-05 Thread Rootz
Can a child template have more than one parent template? I am using the the latest release for Django and I have several template to include in the one template file. How can I do so using template inheritance (using the default django template api) ? -- You received this message because you a

Online Judge.

2018-09-05 Thread Md. Razibul Hasan Mithu
I want to make an *Online Judge System*. That system runs* C/C++* code and Take output using some inputs. But Problem is how can I run a code *Using Python* Language and take all output especially runtime and memory for making all verdict like *Wrong answer, TLE, MLE. * -- You received this me