Re: How to get client or user side details

2020-09-02 Thread RANGA BHARATH JINKA
Hi, There is a javascript library called Detect.js Detect.js Github: https://github.com/darcyclarke/Detect.js Video Tutorial : https://youtu.be/QukFW1qymSA All the best On Thu, Sep 3, 2020 at 10:49 AM Salima Begum wrote: > Hi, > We are trying to extract new login attempts

How to get client or user side details

2020-09-02 Thread Salima Begum
Hi, We are trying to extract new login attempts done by application users from new devices. That means if an application user tries to login other than their regular devices ( laptop, mobile phone etc.), we need to extract that particular new device details. So the details that we need are 1.

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-02 Thread Kasper Laudrup
Hi King Niko, On 02/09/2020 17.46, King Niko wrote: *I have not managed to get the Django log up and running, but this may help to get guidance on resolving the issue:* You should get access to the Django log. It's pointless to waste time on guessing what might be wrong when you could have

Re: In app Template's

2020-09-02 Thread Annick Sakoua
Hi, Plz,can you share a tree of your directory, it will be simpler to help you Le mercredi 2 septembre 2020 à 16:37:30 UTC+1, divyansh@gmail.com a écrit : > i am using Django 3.1 and the template loader is not looking in the > template directory of the app, why ? > its only looking in

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-02 Thread King Niko
*I have not managed to get the Django log up and running, but this may help to get guidance on resolving the issue:* I have noticed that most of my bugs reside within utils.py under the "cart = {}" : def cookieCart(request): #Create empty cart for now for non-logged in user try:

getattr() issue with copied model instance (2.2.16)

2020-09-02 Thread Liam Boer
Hello, - python version: 3.7 - django version: 2.2.16 After upgrading django from 2.2.15 to 2.2.16, I am experiencing errors with the code shown below (see code). Since 2.2.16 the "getattr(self.original, field_name)" line results in the following stack trace, which did not happen in

In app Template's

2020-09-02 Thread Divyansh Tiwari
i am using Django 3.1 and the template loader is not looking in the template directory of the app, why ? its only looking in three directories one is the templates under the project, second is the admin template and third is the authentication template directory, but not the template

How to get a user from a Modelform

2020-09-02 Thread Annick Sakoua
Hi all, I have a model from which I had a form. I would like to show in the form a MultipleChoiceField: customer that shows only the user's customers. Nothing show in the MultipleChoiceField. I don't know how to succed to get the user in my form. Please help. Thanks a lot *models.py* class

Re: Django security releases issued: 3.1.1, 3.0.10 and 2.2.16

2020-09-02 Thread Annick Sakoua
Thanks :), didn't see that Le mardi 1 septembre 2020 à 10:20:39 UTC+1, carlton...@gmail.com a écrit : > Today the Django team issued 3.1.1, 3.0.10 and 2.2.16 as part of our > security process. These releases address two security issues, and we > encourage all users to upgrade as soon as

Re: URL configuration error for a beginner

2020-09-02 Thread maninder singh Kumar
If its frozen, perhaps your server is not running Maninder Kumar about.me/maninder.s.kumar