Re: 'WSGIRequest' object has no attribute 'get'

2021-11-23 Thread ramadhan ngallen
Surely it has self.request.GET and not self.request.get On 23 Nov 2021, 09:11 +0300, Trippy Samurai , wrote: > Getting error while working with template view > > views.py > > > class DeveloperTicketView(TemplateView): > > def get_template_names(self): > if self.request.get('status') == 'Opened': >

Re: learn django

2021-11-23 Thread MR INDIA
if you just want auth, and don't want to learn django fully, then get a django crashcourse, and use django allauth. crash course = https://youtu.be/rHux0gMZ3Eg , django allauth: https://youtu.be/GQySb3W2feo On Monday, 22 November 2021 at 21:38:29 UTC+5:30 Kasper Laudrup wrote: > On 21/11/2021

Re: learn django

2021-11-23 Thread Kasper Laudrup
On 23/11/2021 15.07, MR INDIA wrote: if you just want auth, and don't want to learn django fully, then get a django crashcourse, and use django allauth. crash course = https://youtu.be/rHux0gMZ3Eg , django allauth: https://youtu.be/GQySb3W2feo I think you meant to reply to someone else. This

Re: learn django

2021-11-23 Thread MR INDIA
I wrote to the person who asked the question On Tuesday, 23 November 2021 at 19:42:21 UTC+5:30 Kasper Laudrup wrote: > On 23/11/2021 15.07, MR INDIA wrote: > > if you just want auth, and don't want to learn django fully, then get a > > django crashcourse, and use django allauth. crash course =

Question for Upload images issue

2021-11-23 Thread Alam Khazi
Hi, By using Vuejs, Axios and Django, we're uploading "multiple images" using Vuejs form in one upload/browse attempt. After uploading, the images are getting in a list and then the list of images names are stored into backend in ImageField. The image names are saving into database but not saving

Re: learn django

2021-11-23 Thread Kasper Laudrup
On 23/11/2021 15.39, MR INDIA wrote: I wrote to the person who asked the question Well, you replied to me. That was a bit confusing, but we all make mistakes of course. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users

AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
I am working on a django based project in which I have integrated ML trained models to check if a https url is legitimate or not. for this I need javascript or ajax to call a rest api for my form in which I want to send a post request so that I can check if a https url is legitimate or not. *NOT

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
hello, am not sure what the question is. Kindly elaborate. On Tue, 23 Nov 2021 at 09:19, DJANGO DEVELOPER wrote: > I am working on a django based project in which I have integrated ML > trained models to check if a https url is legitimate or not. for this I > need javascript or ajax to call a re

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
okay let me explain. I have trained models which tells us that which website is legitimate or which website is not legitimate. I have integrated that model with my django web app using rest api. I tested the API on postman and working. now I want to get the result on front end using HTML CSS and ja

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
do a demo, enter the URL on the text area and click on the post button. Then send me the logs on the terminal running Django and also open the console and send the output, On Tue, 23 Nov 2021 at 10:21, DJANGO DEVELOPER wrote: > okay let me explain. > I have trained models which tells us that whi

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
your page also reloads and results may not be displayed on your frontend, just add this lines on your onclick listerner function(e){ //notice the e parameter, it is the event parameter. e.preventDefault() your code here. } or you can just paste this on your script section (function () {

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
sorry if you get offended because I need a solution. a working solution. I am not familiar with javascript. so getting a lot of issues On Tue, Nov 23, 2021 at 10:38 PM Duncan Santiago wrote: > your page also reloads and results may not be displayed on your frontend, > just add this lines on your

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
send me your code then, or GitHub repo handle. On Tue, 23 Nov 2021 at 11:27, DJANGO DEVELOPER wrote: > sorry if you get offended because I need a solution. a working solution. I > am not familiar with javascript. so getting a lot of issues > > On Tue, Nov 23, 2021 at 10:38 PM Duncan Santiago < >

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
can I have you on anydesk or any meeting tool? On Tue, Nov 23, 2021 at 11:31 PM Duncan Santiago wrote: > send me your code then, > or GitHub repo handle. > > On Tue, 23 Nov 2021 at 11:27, DJANGO DEVELOPER > wrote: > >> sorry if you get offended because I need a solution. a working solution. >>

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
let's try google meet. On Tue, 23 Nov 2021 at 11:39, DJANGO DEVELOPER wrote: > can I have you on anydesk or any meeting tool? > > On Tue, Nov 23, 2021 at 11:31 PM Duncan Santiago < > duncansantiag...@gmail.com> wrote: > >> send me your code then, >> or GitHub repo handle. >> >> On Tue, 23 Nov 20

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
okay On Wed, Nov 24, 2021 at 12:04 AM Duncan Santiago wrote: > let's try google meet. > > On Tue, 23 Nov 2021 at 11:39, DJANGO DEVELOPER > wrote: > >> can I have you on anydesk or any meeting tool? >> >> On Tue, Nov 23, 2021 at 11:31 PM Duncan Santiago < >> duncansantiag...@gmail.com> wrote: >

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
https://meet.google.com/pns-vbmz-sys On Wed, Nov 24, 2021 at 12:08 AM DJANGO DEVELOPER wrote: > okay > > > On Wed, Nov 24, 2021 at 12:04 AM Duncan Santiago < > duncansantiag...@gmail.com> wrote: > >> let's try google meet. >> >> On Tue, 23 Nov 2021 at 11:39, DJANGO DEVELOPER >> wrote: >> >>> ca

Re: learn django

2021-11-23 Thread MR INDIA
Oh Sorry On Tue, 23 Nov 2021 at 21:45, Kasper Laudrup wrote: > On 23/11/2021 15.39, MR INDIA wrote: > > I wrote to the person who asked the question > > > > Well, you replied to me. That was a bit confusing, but we all make > mistakes of course. > > Kind regards, > > Kasper Laudrup > > -- > You