Re: 0 i am trying to upload a file to django server backend.i added a progress bar by using javascript,xhr and ajax method also i added a cancel button to cancel the upload the progress bar is working

2023-11-08 Thread 2JR19CS041_Danish
cancel.addEventListener('click',(xhr.abort)); it should be callback function try this: cancel.addEventListener('click', function(e){ xhr.abort() }) On Monday, 30 October 2023 at 21:10:03 UTC+5:30 Gokul G.M wrote: > > > > > > Document >

0 i am trying to upload a file to django server backend.i added a progress bar by using javascript,xhr and ajax method also i added a cancel button to cancel the upload the progress bar is working pr

2023-10-30 Thread Gokul G.M
Document https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css; integrity= "sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

Re: AWS Polly w/ strictly Django and Javascript

2023-08-15 Thread Mike Dewhirst
On 15/08/2023 7:26 am, Lightning Bit wrote: Hello, how could one go about integrating AWS Polly voices onto a website utilizing only Django, HTML, CSS, and Javascript? I do not want to use "node.js" or "react". Look closely at htmx.org -- You received this

AWS Polly w/ strictly Django and Javascript

2023-08-14 Thread Lightning Bit
Hello, how could one go about integrating AWS Polly voices onto a website utilizing only Django, HTML, CSS, and Javascript? I do not want to use "node.js" or "react". -- You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Using JavaScript to enumerate a dataset returned to a page.

2023-06-20 Thread Prosper Lekia
You can write an Ajax request with Django, and work with the data with JavaScript in the frontend. On Mon, Jun 19, 2023, 15:30 Lee Stevens wrote: > Helo, > > I have a dataset returning to a page. I need JavaScript to be able to > process this. > > Instead of using: > {

Re: Using JavaScript to enumerate a dataset returned to a page.

2023-06-20 Thread Lee Stevens
So it is sounding more and more like I can't just send in a JSON object and then use JSON.parse to loop through the data. Maybe I am missing something on the django side. Parsing on the JavaScript side is easy, but am I creating the variable {{dataset}} in the original message incorrectly

Re: Using JavaScript to enumerate a dataset returned to a page.

2023-06-19 Thread Robin Riis
Helo, > > I have a dataset returning to a page. I need JavaScript to be able to > process this. > > Instead of using: > {% for item in dataset %} > {{ item.field1 }} > {{ item.field2 }} > {% endfor %} > > Is there a *JavaScript* way to read this dataset/variable instead?

Re: Using JavaScript to enumerate a dataset returned to a page.

2023-06-19 Thread ALBERT ASHABA AHEEBWA
Explore using Alpine js. Still learning these bits myself so, I don't have much detail. But Alpine is what you looking for. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Mon, 19 Jun 2023, 17:30 Lee Stevens, wrote: > Helo, > > I have a dataset returning to a page. I need J

Using JavaScript to enumerate a dataset returned to a page.

2023-06-19 Thread Lee Stevens
Helo, I have a dataset returning to a page. I need JavaScript to be able to process this. Instead of using: {% for item in dataset %} {{ item.field1 }} {{ item.field2 }} {% endfor %} Is there a *JavaScript* way to read this dataset/variable instead? Thanks. -- You received this message

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
>>> 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 java

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
>> duncansantiag...@gmail.com> 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 solu

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
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, No

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
tion. 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 < >> duncansantiag...@gmail.com> wrote: >> >>> your page also reloads and results may not be displaye

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 Dun

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

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
rking. >> now I want to get the result on front end using HTML CSS and javascript. >> so how can I achieve it? >> >> On Tue, Nov 23, 2021 at 10:16 PM Duncan Santiago < >> duncansantiag...@gmail.com> wrote: >> >>> hello, am not sure what the question

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread Duncan Santiago
lls 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 javascript. > so how can I achieve i

Re: AJAX or Javascript POST request for Django form

2021-11-23 Thread DJANGO DEVELOPER
and javascript. so how can I achieve it? On Tue, Nov 23, 2021 at 10:16 PM Duncan Santiago wrote: > 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

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 aja

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

How send data to Django app using Javascript or JQuery? (Having trouble doing a POST)

2021-09-29 Thread cseb...@gmail.com
How send data from client Javascript to Django server? I tried the following but it didn't work. I want to read "token" cookie value and send to server but it never receives it as a valid form. Any sample working code greatly appreciated. function start_

JavaScript

2021-06-23 Thread Tanni Seriki
I try to implement JavaScript on my Django project, but it's not working at all. In Mozilla Firefox it keep saying, File failed to load with It's not a valid mime type... Please help me out... Or is there any way I can use Django to make add to cart functionality. -- You received

Re: please help! not getting the desired output. how to add multiple orders via Django forms using Javascript?

2021-06-19 Thread Williams Andy Inc
Anyone interested in talking about django sharing their knowledge or path or want to learn more? meeting Now https://meet.google.com/wcv-ojtf-vhi On Sat, Jun 19, 2021 at 10:31 AM DJANGO DEVELOPER wrote: > please can someone help me? > > On Sat, Jun 19, 2021 at 9:31 AM DJANGO DEVELOPER >

Re: please help! not getting the desired output. how to add multiple orders via Django forms using Javascript?

2021-06-19 Thread DJANGO DEVELOPER
please can someone help me? On Sat, Jun 19, 2021 at 9:31 AM DJANGO DEVELOPER wrote: > for convenience, please follow addorder1 to addorder5 respectively. > > On Saturday, June 19, 2021 at 9:29:48 AM UTC+5 DJANGO DEVELOPER wrote: > >> Hi guys I need urgent help. your help is appreciated. >> When

Re: please help! not getting the desired output. how to add multiple orders via Django forms using Javascript?

2021-06-18 Thread DJANGO DEVELOPER
for convenience, please follow addorder1 to addorder5 respectively. On Saturday, June 19, 2021 at 9:29:48 AM UTC+5 DJANGO DEVELOPER wrote: > Hi guys I need urgent help. your help is appreciated. > When I try to add a single order from user side then it works fine but > when I try to add

Send image as response from Python to JavaScript

2021-06-18 Thread Prafulla Yeole
Hello Team, I want to show images from server to html. I have created a django website. I want to showcase all the images which are uploaded on the server. I can read the image using python code. But I am not able to send this image to javascript/HTML as response. Can anyone know how to do

Re: selectfilter2 javascript and django

2021-04-24 Thread dev.h...@gmail.com
Thank you so much. It works Le mercredi 29 avril 2015 à 13:34:25 UTC, dim...@gmail.com a écrit : > > ok i found it > > in the urls.py i add the > > (r'^jsi18n/$', 'django.views.i18n.javascript_catalog'), > > > and in template > > > > > > > Τη Τετάρτη, 29 Απριλίου 2015 - 4:12:56 μ.μ.

Re: Date validation in javascript

2020-12-03 Thread Avi shah
Hi , Check this out https://www.youtube.com/watch?v=cBOyVNR2Seg On Thu, Dec 3, 2020 at 6:48 PM Eugene TUYIZERE wrote: > Dear Team, > > In my project, I have the date format MM. How to validate that the MM > part cannot exceed 12? I think this can be done in javascript but don'

Date validation in javascript

2020-12-03 Thread Eugene TUYIZERE
Dear Team, In my project, I have the date format MM. How to validate that the MM part cannot exceed 12? I think this can be done in javascript but don't know how. Assist please. Thank you -- *TUYIZERE Eugene* *Msc Degree in Mathematical Science* *African Institute for Mathematical

Re: [API] Send csrf token and retrieve with javascript?

2020-10-11 Thread Dvs Khamele
gon...@gmail.com> wrote: > I am building a django api to be used in a front end of another server, > how do I send the csrf token and how do I retrieve it in the front end with > javascript? > > Currently my posts.py file looks like this: > ```python > from django.http

Re: JavaScript

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks at fair prices. Reply or send email to divy...@pythonmate.com Best Regards, Divyesh Khamele, Pythonmate On Fri, 2 Oct 2020, 9:03 pm Eugene TUYIZERE, wrote: > Dear All, > > I did form validation

Re: JavaScript

2020-10-02 Thread Eugene TUYIZERE
Merci reka ngere murugo ndi munzira ntaha! Ndayiguha kandi merci bcp Sent from my iPhone > On 2 Oct 2020, at 18:03, Chris Franklin wrote: > > Nyohereza screenshot ndakurabire > > >> On Oct 2, 2020 17:32, "Eugene TUYIZERE" wrote: >> Dear All, >> >> I did form validation where I can not save

Re: JavaScript

2020-10-02 Thread Chris Franklin
Nyohereza screenshot ndakurabire On Oct 2, 2020 17:32, "Eugene TUYIZERE" wrote: > Dear All, > > I did form validation where I can not save empty value. And When I try a > message displays under the text field. What I want is, in case I type at > least a single character, the error message to

Re: JavaScript

2020-10-02 Thread Mohammad Ahshan Danish
Okay, Use Text Change event and display error accordingly. Text Change event. On Fri, Oct 2, 2020 at 9:02 PM Eugene TUYIZERE wrote: > Dear All, > > I did form validation where I can not save empty value. And When I try a > message displays under the text field. What I want is, in case I type at

JavaScript

2020-10-02 Thread Eugene TUYIZERE
Dear All, I did form validation where I can not save empty value. And When I try a message displays under the text field. What I want is, in case I type at least a single character, the error message to disappear and when I delete again, the error to be show, etc If someone can share with me

Re: Send csrf token and retrieve with javascript?

2020-09-30 Thread RANGA BHARATH JINKA
gt; how do I send the csrf token and how do I retrieve it in the front end with > javascript? > > Currently my posts.py file looks like this: > ```python > from django.http import HttpResponse > from django.views.decorators.csrf import ensure_csrf_cookie > > @ensure_csrf_c

Send csrf token and retrieve with javascript?

2020-09-30 Thread Alexandro Gonçalves Dos Santos
I am building a django api to be used in a front end of another server, how do I send the csrf token and how do I retrieve it in the front end with javascript? Currently my posts.py file looks like this: ```python from django.http import HttpResponse from django.views.decorators.csrf import

[API] Send csrf token and retrieve with javascript?

2020-09-30 Thread Alexandro Gonçalves Dos Santos
I am building a django api to be used in a front end of another server, how do I send the csrf token and how do I retrieve it in the front end with javascript? Currently my posts.py file looks like this: ```python from django.http import HttpResponse from django.views.decorators.csrf import

Secure Way to send token to javascript

2020-07-21 Thread Anirudh choudhary
Hello everyone I am Making a website on which I am extracting the data from API using ajax request. To Secure my API I use restframe.authtoken.when I am using inline javascript in base.html. I am passing my Token as context data to HTML file and using it but now I put my javascript in static

Re: Training Resources for using JavaScript with Django

2020-06-18 Thread Julio Cojom
in your template, open a js block {% block javascript %}

Training Resources for using JavaScript with Django

2020-06-18 Thread meva...@gmail.com
Hello Community Members, Can you please point me towards resources for using Javascript /Jquery /AJAX with Django, Want to create single page application which can send /receive data without reloading to different pages and to be able to show progress of an ongoing operation through

Intermittent Javascript Tests Headless Chrome Timeout

2020-06-16 Thread Matt Ferrante
should re-trigger this test suite? Thanks! https://djangoci.com/job/pull-requests-javascript/6624/console Files: js_tests/tests.html -> all Options: timeout=5000, inject="/home/jenkins/workspace/pull-requests-javascript/node_modules/grunt-contrib-qunit/chrome/bridge.js", urls=[]

How to connect the external independent template(contains of javascript and ajax) with django backend to POST the zip file to external template

2020-04-25 Thread yashwanth balanagu
connect the external independent template(contains of javascript and ajax) with django backend to pass the image from front end and get the image in backend convert into the zip file and post to external javascript template -- You received this message because you are subscribed to the Google

django dependent drop down list without using javascript; ajax; jquery

2020-04-12 Thread Mayank Tripathi
Hi All, Could any one please share some details on how we can do dependent drop down list selection. I am seeing lot of videos or content to handle this via JavaScript; AJAX; jquery etc.. but just wondering if Django has anything which can be handled easily. -- You received this message

Re: selectfilter2 javascript and django

2020-03-26 Thread Jason Liu
Thank you so much for providing the solution, it solved my problem as well. On Wednesday, April 29, 2015 at 6:34:25 AM UTC-7, Dimitris Kougioumtzis wrote: > > > ok i found it > > in the urls.py i add the > > (r'^jsi18n/$', 'django.views.i18n.javascript_catalog'), > > > and in template > >

Re: JavaScript linking

2020-03-13 Thread Shishir Jha
com> wrote: > Please how can I link JavaScript to my project when I stored my JavaScript > in my static folder/JS subdirectory > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group an

JavaScript linking

2020-03-13 Thread Daniel Chiemelu
Please how can I link JavaScript to my project when I stored my JavaScript in my static folder/JS subdirectory -- 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, sen

Re: django context data into javascript

2020-02-25 Thread 'Artem Vasin' via Django users
.js files, even if linked in Django templates are not processed by template engine. To output value from context to file, this file should be an output from template engine. You have three ways to solve your problem: Make your myjs.js file generated by template processor. It’s most difficult

Re: django context data into javascript

2020-02-25 Thread Soumen Khatua
But I'm getting one error On Tue 25 Feb, 2020, 5:59 PM Naveen Arora, wrote: > Hi, this is simple just enclose {{name}} into " " as "{{name}}" for your > part. > > Thanks > > On Tuesday, 25 February 2020 15:56:05 UTC+5:30, Soumen Khatua wrote: >> >> Hi Folks, >> >> I'm sending some context data

Re: django context data into javascript

2020-02-25 Thread Naveen Arora
Hi, this is simple just enclose {{name}} into " " as "{{name}}" for your part. Thanks On Tuesday, 25 February 2020 15:56:05 UTC+5:30, Soumen Khatua wrote: > > Hi Folks, > > I'm sending some context data into html like > name = 'soumen' > return render(request,'xyz.html', context =

Re: django context data into javascript

2020-02-25 Thread Gil Obradors
Hi! The context is a dictionary mapping template variable names to Python objects. from https://docs.djangoproject.com/en/3.0/intro/tutorial03/ May be you need to test with a dict nor string directly. I haven't test a direct variable. Try not using JS, first resolve dict context in html , then

django context data into javascript

2020-02-25 Thread Soumen Khatua
Hi Folks, I'm sending some context data into html like name = 'soumen' return render(request,'xyz.html', context = {'name':name}) inside myjs.js(js script has been integrated to html): --- var my_name = {{name}}; I'm getting an

Re: Populating django admin inline fields with javascript

2019-07-16 Thread Mario Sassmann
OK I solved the problem. I accidently set the primary keys (hidden fields) when populating the inline forms with javascript. Am Dienstag, 16. Juli 2019 21:49:10 UTC+2 schrieb Mario Sassmann: > > Hi! > > I'm trying to write an importer for populating admin model fields with >

Populating django admin inline fields with javascript

2019-07-16 Thread Mario Sassmann
for many other stuff I wrote an endpoint which delivers the model data via get request. When clicking the button some javascript logic is populating the fields with the given data. For inline models I'm triggering a 'click' to add the necessary rows before filling the fields. This is working

Re: Javascript File is not responding

2019-06-25 Thread Soumen Khatua
Thank you for your email. Now it's woring after added it under Bootstrap link. Thank You Regards, Soumen On Tue, 25 Jun 2019, 20:34 ravikumar dingari, wrote: > Can U send , How to set Forget PasswordIn django...With user models > > On 25-Jun-2019 1:25 PM, "Soumen Khatua" wrote: > >>

Re: Javascript File is not responding

2019-06-25 Thread ravikumar dingari
Can U send , How to set Forget PasswordIn django...With user models On 25-Jun-2019 1:25 PM, "Soumen Khatua" wrote: > Hi Folks, > > When I'm using my javasscript/jquery code inside django template then it's > working fine but when I'm save it in external file called main.js then it's >

Re: Javascript File is not responding

2019-06-25 Thread Andréas Kühne
Hi, I am guessing that you add this to the part of your template? I think the problem is that you haven't created the item with the "show-more" class before adding an event listener to it. Try adding: $(window).ready(function() { }); around your js function. Regards, Andréas Den tis 25

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-06 Thread Gurmeet Kaur
use the serializers.serialize method to do this. No need >> to use Restframework. >> >> On Fri, May 3, 2019, 3:25 PM John Bagiliko < >> john.bagil...@aims-senegal.org> wrote: >> >>> Dump this result into json and render it on a page. Use AJAX to

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-05 Thread Mayur Bagul
rom django.core > You can simply use the serializers.serialize method to do this. No need to > use Restframework. > > On Fri, May 3, 2019, 3:25 PM John Bagiliko > wrote: > >> Dump this result into json and render it on a page. Use AJAX to get this >> json data in JavaScr

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-04 Thread Mayur Bagul
function using ajax. > > Let me know if it works for you. > > On Fri, May 3, 2019 at 10:41 AM Mayur Bagul > wrote: > >> I don't want to anything in context because I already passing value of >> database inside it. >> >> What I want that how I can pass

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread Gurmeet Kaur
lue of > database inside it. > > What I want that how I can pass that context to JavaScript > getElementById().innerHTML='context' > > Like this > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread John Bagiliko
import serializers from django.core You can simply use the serializers.serialize method to do this. No need to use Restframework. On Fri, May 3, 2019, 3:25 PM John Bagiliko wrote: > Dump this result into json and render it on a page. Use AJAX to get this > json data in JavaScript. >

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread John Bagiliko
Dump this result into json and render it on a page. Use AJAX to get this json data in JavaScript. On Fri, May 3, 2019, 2:41 PM sachinbg sachin wrote: > If u want to use that context in html means for I context ,I.user > name,i.products like that u can use > > On Fri, May 3, 2

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
If u want to use that context in html means for I context ,I.user name,i.products like that u can use On Fri, May 3, 2019, 8:09 PM sachinbg sachin In JavaScript I don't know buddy > > On Fri, May 3, 2019, 6:33 PM Ravi Kumar >> Try to use ajax >> >> On Fri 3 May,

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
In JavaScript I don't know buddy On Fri, May 3, 2019, 6:33 PM Ravi Kumar Try to use ajax > > On Fri 3 May, 2019 5:42 pm Mayur Bagul >> Hello community, >> >> I have stored single value from database inside a variable which is >> playing role of context inside views

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread Mayur Bagul
I don't want to anything in context because I already passing value of database inside it. What I want that how I can pass that context to JavaScript getElementById().innerHTML='context' Like this -- You received this message because you are subscribed to the Google Groups "Django

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread Ravi Kumar
Try to use ajax On Fri 3 May, 2019 5:42 pm Mayur Bagul Hello community, > > I have stored single value from database inside a variable which is > playing role of context inside views.py function. > > Now I want to use this context(which holds single value) in JavaScript to > ch

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
ext(which holds single value) in JavaScript to > change specific HTML content of template which will give me desired webpage. > > I Searched on Google but I didn't found any useful tutorial or solution on > specified problem. > > I'm looking forward to get solution from communit

How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread Mayur Bagul
Hello community, I have stored single value from database inside a variable which is playing role of context inside views.py function. Now I want to use this context(which holds single value) in JavaScript to change specific HTML content of template which will give me desired webpage. I

Re: How to run ORM commands from DOM Javascript?

2019-04-15 Thread Sithembewena L. Dube
You cannot run Django's Python code in JavaScript in a browser. The advice you have been given applies. Kind regards, Sithu *Sent with Shift <https://tryshift.com/?utm_source=SentWithShift_campaign=Sent%20with%20Shift%20Signature_medium=Email%20Signature_content=General%20Email%20Gr

Re: How to run ORM commands from DOM Javascript?

2019-04-15 Thread sairanganadh Narayana
Thanks for your response. But, I need to run ORM(model.objects.filter(pk=1)) commands in javascript and show results in HTML pages. I was wrong in question. Please suggest any possibility. On Tuesday, April 9, 2019 at 5:51:24 PM UTC+5:30, Robin Riis wrote: > > in models.py you can

Re: How to run ORM commands in Javascript DOM?

2019-04-09 Thread Ing.Daniel Bojorge
lo que quieran y se les dará. (Juan 15:7 DHH) Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR. (Jeremías 17:7 RV2000) El mar., 9 abr. 2019 a las 9:02, sairanganadh Narayana (< ssaaii4...@gmail.com>) escribió: > I am trying to run model.objects.filter(id=2) through j

Re: How to run ORM commands in Javascript DOM?

2019-04-09 Thread Shashank Singh
Get the data in the current screen before opening the popup or hit a ajax request to the server to get the said data. On Tue, 9 Apr, 2019, 8:32 PM sairanganadh Narayana, wrote: > I am trying to run model.objects.filter(id=2) through javascript and show > results in popup. I am unable t

How to run ORM commands in Javascript DOM?

2019-04-09 Thread sairanganadh Narayana
I am trying to run model.objects.filter(id=2) through javascript and show results in popup. I am unable to find the solution. Please guide me with solution or any alternative to get this. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "D

Re: How to run ORM commands from DOM Javascript?

2019-04-09 Thread Robin Riis
apr. 2019 kl 13:30 skrev sairanganadh Narayana < ssaaii4...@gmail.com>: > I'm trying to get run model.objects.filter(id=2) from javascript and show > on database. I am unable to get solution for this. Please guide me solution > for this or alternative for this. > > -- > Y

How to run ORM commands from DOM Javascript?

2019-04-09 Thread sairanganadh Narayana
I'm trying to get run model.objects.filter(id=2) from javascript and show on database. I am unable to get solution for this. Please guide me solution for this or alternative for this. -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: django vue javascript integration

2019-03-04 Thread Tomas Garijo
ure_medium=Email%20Signature_content=General%20Email%20Group>* > > On Fri, Mar 1, 2019 at 11:52 PM Sam W > > wrote: > >> Why don't you use Django REST framework ? >> >> On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: >>> >>> Hell

Re: django vue javascript integration

2019-03-01 Thread Sithembewena L. Dube
t;> >> Hello group, >> >> I have a huge problems to integrate a vue javascript file in one template, >> only for testing, I'm searching on google but unfortuny I can't find >> anything. >> I have a simple html file and I want to load a code that

Re: django vue javascript integration

2019-03-01 Thread Sam W
Why don't you use Django REST framework ? Try this : How to Integrate Vue.js with Django Rest Framework? https://www.techiediaries.com/django-rest-vuejs/ On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: > > Hello group, > > I have a huge problems to integrate a vu

Re: django vue javascript integration

2019-03-01 Thread Sam W
Why don't you use Django REST framework ? On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: > > Hello group, > > I have a huge problems to integrate a vue javascript file in one template, > only for testing, I'm searching on google but unfortuny I can't find any

Re: django vue javascript integration

2019-03-01 Thread Wira Bhakti
Maybe you must put your JavaScript file on your static directory... On Sat, 2 Mar 2019 00:36 Tomas Garijo Hello group, > > I have a huge problems to integrate a vue javascript file in one template, > only for testing, I'm searching on google but unfortuny I can't find anything.

django vue javascript integration

2019-03-01 Thread Tomas Garijo
Hello group, I have a huge problems to integrate a vue javascript file in one template, only for testing, I'm searching on google but unfortuny I can't find anything. I have a simple html file and I want to load a code that is in other file, of course this files is a *.js file The best

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-30 Thread kennedy kay
Valid point you made there vincent. Javascript libraries come and leave but django remains the same :) Best best advise would be to just learn javascript first and every other library becomes easy-peasy. ;) *Kind regards,* *E.I Kenneth[Python developer/Machine Learner

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-30 Thread William Vincent
that would mean React at the moment. You've probably also heard that you should just learn JavaScript at an expert level first before any framework. Also true but maddening. My advice would be to pick a basic project and implement it with all 3 and see which you like best. For a React example, see

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
Hi, Yes it's very hard to pick a framework (since there exists quite a bunch of different frameworks) if you don't know one. In most cases it's completely irrelevant for Django being as a backend service. So it's not harder or easier to use most of the frameworks. I personally have found openui5

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Joel Mathew
>From the point of view of someone who hasnt been using frameworks but wants to, this is all very maddening. Guess I just have to pick one randomly between Vue and Angular! Sincerely yours, Joel G Mathew On Fri, 30 Nov 2018 at 01:51, Benjamin SOULAS wrote: > Hello, > > Currently I

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Benjamin SOULAS
Hello, Currently I integrate VueJS, it works like a charm, the documentation is awesome Le jeu. 29 nov. 2018 21:17, Jani Tiainen a écrit : > Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've > tried... > > kennedy kay kirjoitti to 29. marrask. 2018 klo > 21.25: > >> For me

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've tried... kennedy kay kirjoitti to 29. marrask. 2018 klo 21.25: > For me personally I would recommend AngularJS. Not just because it easy to > integrate with Django but because you can also create mobile applications > on the

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread kennedy kay
For me personally I would recommend AngularJS. Not just because it easy to integrate with Django but because you can also create mobile applications on the fly. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jason
react is like flask, whereas angular is like django as far as what's included in the framework from the start. as long as you have an api, doesn't matter what you use for the frontend whether it be straight JS to angular/vue/react. the question is the understanding of the separation of

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Joel Mathew
I didnt see anyone recommending React. Is there any aspect that makes it difficult to use with django? -- 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

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Gerson David Vizquel Alemán
You can use vuejs is... a pure love JavaScript framework. Take a look at this: https://2018.stateofjs.com/front-end-frameworks/overview/ El martes, 27 de noviembre de 2018, 16:21:32 (UTC-4), Simon Connah escribió: > > I'm in the process of building a website in Django and need t

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Andréas Kühne
The problem is it isn't easy to recommend a javascript framework because there are so many and all have different pros and cons. Another thing is that they are also very subjective in what you need / want. Django itself isn't biased towards one or the other. Also communicating with django itself

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Joel Mathew
I've been thinking a lot about the most painless way of learning a javascript framework. My project is almost complete, and so far everything has been written in javascript using jquery. But for what I have planned next, a framework would be immensely helpful. I just wish it was as easy

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Jason
Its really personal preference at times, especially for personal projects. That said, when it comes to frameworks like angular, react, vue, picking one is like picking a version control solution. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Joel Mathew
; Hi guys, > > You could refer Vuejs. > > Vào 03:20 T.4, 28 Th11 2018 Simon Connah đã viết: > >> I'm in the process of building a website in Django and need to make a >> specific part of my application dynamic. Because of that I'd like to use >> a JavaScript frontend f

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Thanh Tuyền Huỳnh
Hi guys, You could refer Vuejs. Vào 03:20 T.4, 28 Th11 2018 Simon Connah đã viết: > I'm in the process of building a website in Django and need to make a > specific part of my application dynamic. Because of that I'd like to use > a JavaScript frontend framework to build thi

Re: Easiest front end JavaScript framework to integrate with a Djangobackend?

2018-11-27 Thread Andréas Kühne
/?LinkId=550986> for > Windows 10 > > > > *From: *Alfredo Sumague > *Sent: *Tuesday, November 27, 2018 8:13 PM > *To: *django-users@googlegroups.com > *Subject: *Re: Easiest front end JavaScript framework to integrate with a > Djangobackend? > > > > you can use A

RE: Easiest front end JavaScript framework to integrate with a Djangobackend?

2018-11-27 Thread Sir Robert James Patterson
What Alfred said . . . . .and than some  https://django-angular.readthedocs.io/en/latest/ Sent from Mail for Windows 10 From: Alfredo Sumague Sent: Tuesday, November 27, 2018 8:13 PM To: django-users@googlegroups.com Subject: Re: Easiest front end JavaScript framework to integrate

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-27 Thread Alfredo Sumague
you can use AngularJS framework with Django. goodluck, Alfred On Tue, Nov 27, 2018 at 12:21 PM Simon Connah wrote: > I'm in the process of building a website in Django and need to make a > specific part of my application dynamic. Because of that I'd like to use > a JavaScript

  1   2   3   4   5   6   7   8   9   10   >