Re: Install library from Github

2020-01-02 Thread Jorge Gimeno
On Thu, Jan 2, 2020 at 7:14 PM Mark Ogilvie wrote: > Jorgge, In answer to your question, I Python 3 was installed on my > Windows 10 PC and could be launched by simply typing "python" at the C:\ > prompt of the command line. > With Python session running, I was not able to locate pip until I

Re: How to make Django Application more secure

2020-01-02 Thread Shaheed Haque
Hi, On Thu, 2 Jan 2020, 19:30 Jody Fitzpatrick, wrote: > Hi Balaji > > It's not necessarily template views. > > Let's come up with a scenario so you can see. > > > Let's assume you have an order form, and your customers can view that > order form by viewing: > > yoururl.com/orders/?order_id=101

Re: Install library from Github

2020-01-02 Thread Mark Ogilvie
Jorgge, In answer to your question, I Python 3 was installed on my Windows 10 PC and could be launched by simply typing "python" at the C:\ prompt of the command line. With Python session running, I was not able to locate pip until I ran the installation of Pip earlier today. Is it possible that

Re: Install library from Github

2020-01-02 Thread Jorge Gimeno
On Wed, Jan 1, 2020 at 6:07 PM Mark34.59 wrote: > Windows 10 PC with new Git installation is failing to recognize the > command "pip": > pip install git+https://github.com/gbozee/django- (command I typed per > instructions) > bash: pip: command not found (response from Git) > > On Wednesday,

Re: get user that is member of two different group

2020-01-02 Thread sum abiut
Thanks, heaps Stephen. Exactly what I needed. On Fri, Jan 3, 2020 at 1:05 PM Stephen J. Butler wrote: > I don't think that's what the he asked for. It will return users who are > members of either test1 OR test2, but I read the question as returning > users who are members of both test1 AND

Re: get user that is member of two different group

2020-01-02 Thread Stephen J. Butler
I don't think that's what the he asked for. It will return users who are members of either test1 OR test2, but I read the question as returning users who are members of both test1 AND test2. I think the proper query would be: User.objects.filter(groups__name='test1').filter(groups__name='test2')

Re: get user that is member of two different group

2020-01-02 Thread sum abiut
Thanks On Thu, Jan 2, 2020 at 9:35 PM Lunga Baliwe wrote: > Hi there, > maybe you can use something like > User.objects.filter(groups__name__in=['test1', 'test2']). > Also check https://docs.djangoproject.com/en/3.0/ref/models/querysets/#in for > examples of using __in > > On Thu, Jan 2, 2020

Re: How to make Django Application more secure

2020-01-02 Thread Jody Fitzpatrick
Hi Balaji It's not necessarily template views. Let's come up with a scenario so you can see. Let's assume you have an order form, and your customers can view that order form by viewing: yoururl.com/orders/?order_id=101 You think it's okay - after all the customer has to login and view their

Re: Getting os win87 parameter not found in multi processing how to solve please me

2020-01-02 Thread Integr@te System
Hi, Looking for parameter you want to https://docs.python.org/3.8/library/multiprocessing.html https://github.com/praekelt/django-template-multiprocessing/blob/develop/README.rst#installation On Thu, Jan 2, 2020, 23:54 Devendra reddy wrote: > -- > You received this message because you are

Re: Getting os win87 parameter not found in multi processing how to solve please me

2020-01-02 Thread Kasper Laudrup
Hi Devendra, First of all, learn how to write an email. The subject field should contain a short description, topic or subject of what your post is about and the body should contain the details. Considering details, there's no way anyone is able to help you unless you provide some more

Re: How to make Django Application more secure

2020-01-02 Thread Balaji Shetty
Dear Jody Thank you very much. Entire Application built in backend is more secure than templates using view?? On Thursday, January 2, 2020, Jody Fitzpatrick < jody.lee.fitzpatr...@gmail.com> wrote: > Django by itself is fairly secure, it's your coding that makes it not > secure and the

Getting os win87 parameter not found in multi processing how to solve please me

2020-01-02 Thread Devendra reddy
-- 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 discussion on the web visit

Re: How to make Django Application more secure

2020-01-02 Thread Jody Fitzpatrick
Django by itself is fairly secure, it's your coding that makes it not secure and the resources you use. 1.) Don't use simple passwords. 2.) Don't use /admin/ as your admin location. Do change it. - install something like honeypot to catch people trying to gain access to admin 3.) Don't forget

Re: Install library from Github

2020-01-02 Thread Mark34.59
Sanusi, This command is very useful. Thanks! On Thursday, January 2, 2020 at 8:48:55 AM UTC-5, sanusi ibrahim adekunle wrote: > > Make sure pip is installed on your system. > > Go to your command prompt and enter "pip --version" to check if pip is > installed on your system > > On Thu, Jan 2,

Re: Install library from Github

2020-01-02 Thread Mark34.59
Thanks, Klaus! Your advise was spot-on. Pip did indeed need to be installed and that allowed me to take the next step to providing access to Github library on my Windows PC. For some reason my fairly recent installation of Python pulled down a very old version of pip. But I found a solution: I

Re: Is there anything we can help immediately with?

2020-01-02 Thread Dvs Khamele
Yes Joe On Thu, 2 Jan 2020 at 19:13, JOE BASS wrote: > Ok that's good to know > > On Wednesday, January 1, 2020, Dvs Khamele wrote: > >> Yes we are available, please let me know >> >> On Wednesday, 1 January 2020, Chinmay Dali >> wrote: >> >>> I need some help if you are still available, let

Re: Install library from Github

2020-01-02 Thread sanusi ibrahim adekunle
Make sure pip is installed on your system. Go to your command prompt and enter "pip --version" to check if pip is installed on your system On Thu, Jan 2, 2020, 13:49 Klaus Laube wrote: > Hi. > > The pip utility is missing, so you need to install it. I'm not a Windows > user, but I believe the

Re: Is there anything we can help immediately with?

2020-01-02 Thread JOE BASS
Ok that's good to know On Wednesday, January 1, 2020, Dvs Khamele wrote: > Yes we are available, please let me know > > On Wednesday, 1 January 2020, Chinmay Dali > wrote: > >> I need some help if you are still available, let me know >> >> On Wednesday, January 1, 2020 at 1:08:52 AM UTC+5:30,

Re: New release of django-ai: Spam Filtering systems

2020-01-02 Thread straight 55b
On Monday, January 15, 2018 at 2:49:06 PM UTC-8, Matemática A3K wrote: > > I’m very happy of announcing the second release of django-ai: Artificial > Intelligence for Django. > > https://github.com/math-a3k/django-ai > > https://django-ai.readthedocs.io/en/latest/readme.html > > The main

Re: Install library from Github

2020-01-02 Thread Klaus Laube
Hi. The pip utility is missing, so you need to install it. I'm not a Windows user, but I believe the easier way to do that is by running the `get-pip.py` Python script: - Download it from https://bootstrap.pypa.io/get-pip.py - Via command prompt, execute `python get-pip.py` It should

Re: Install library from Github

2020-01-02 Thread John McClain
did you try without "pip" install git+https://github.com/gbozee/django- I assume the git url is not complete but you get the idea On Thu, 2 Jan 2020 at 02:07, Mark34.59 wrote: > Windows 10 PC with new Git installation is failing to recognize the > command "pip": > pip install

Prefill Checkboxes and send values to backend

2020-01-02 Thread Santhosh sridhar
Hi, I have a multiselect drowdown. I want to display the selected values from a drop-down in a separate div as rows with multiple checkboxes to select. I have tried this code in JSFiddle, jsfiddle.net/k7nL3s2z . Please let me know if there is any better approach. I need to pass this

Re: get user that is member of two different group

2020-01-02 Thread Lunga Baliwe
Hi there, maybe you can use something like User.objects.filter(groups__name__in=['test1', 'test2']). Also check https://docs.djangoproject.com/en/3.0/ref/models/querysets/#in for examples of using __in On Thu, Jan 2, 2020 at 6:49 AM sum abiut wrote: > Hi, > I have two separate groups, for