A simple tweak I would use is to find the elements id using DEV tools and
set the
element{
overflow: auto
} using css
On Wed, Dec 8, 2021, 1:10 PM Eugene TUYIZERE
wrote:
> Dear Team,
>
> I am using jquery fancyTable in the django app but I searched everywhere
> and I did not find
Dear Team,
I am using jquery fancyTable in the django app but I searched everywhere
and I did not find how to allow the scroll bar when fancyTable is used in
django. Does anyone know how to do that? This is the code I have and I what
to allow scroll bar:
const itemsPerPage = 12;
if (100
Dear all,
on the code below I want to replace the code:
"ajax": "nestedData.txt", with the url (a python function created)
How can I do it? Please help
/* Function for child row details*/
function getChildRow(data) {
// `data` is the data object for the row
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_processing() {
>offices*.
>Clients will click on the *calendar that is rendered in JS/JQuery (on
>client side)* to select a date and then book for a specific date via a
>button. To store the booking in my database I am using an Ajax call,
>which
>works fine. However, I am asking myself now, *how ca
Hello,
I am having a website where people are able to *make bookings for offices*.
Clients will click on the *calendar that is rendered in JS/JQuery (on
client side)* to select a date and then book for a specific date via a
button. To store the booking in my database I am using an Ajax call
> (15, '00617', 'Barceloneta', 'PR'),
> (16, '00622', 'Boqueron', 'PR'),
> (17, '00623', 'Cabo Rojo', 'PR'),
> (18, '00624', 'Penuelas', 'PR'),
> (19, '00627', 'Camuy', 'PR');
> If user enters zipcode, Then state and city column should be auto fill by
> using database of zip code
> (15, '00617', 'Barceloneta', 'PR'),
> (16, '00622', 'Boqueron', 'PR'),
> (17, '00623', 'Cabo Rojo', 'PR'),
> (18, '00624', 'Penuelas', 'PR'),
> (19, '00627', 'Camuy', 'PR');
> If user enters zipcode, Then state and city column should be auto fill by
> using database of zip code i
', 'PR'),
>>> (17, '00623', 'Cabo Rojo', 'PR'),
>>> (18, '00624', 'Penuelas', 'PR'),
>>> (19, '00627', 'Camuy', 'PR');
>>> If user enters zipcode, Then state and city column should be auto fill
>>> by using database of zip code in django and jQuery .
>&g
; (18, '00624', 'Penuelas', 'PR'),
>> (19, '00627', 'Camuy', 'PR');
>> If user enters zipcode, Then state and city column should be auto fill by
>> using database of zip code in django and jQuery .
>> Please let me know how to do this.
>>
>> Thank You,
>>
', 'Penuelas', 'PR'),
> (19, '00627', 'Camuy', 'PR');
> If user enters zipcode, Then state and city column should be auto fill by
> using database of zip code in django and jQuery .
> Please let me know how to do this.
>
> Thank You,
> ~Salima
>
> --
> You
, '00622', 'Boqueron', 'PR'),
(17, '00623', 'Cabo Rojo', 'PR'),
(18, '00624', 'Penuelas', 'PR'),
(19, '00627', 'Camuy', 'PR');
If user enters zipcode, Then state and city column should be auto fill by
using database of zip code in django and jQuery .
Please let me know how to do this.
Thank You,
~Salima
, '00622', 'Boqueron', 'PR'),
(17, '00623', 'Cabo Rojo', 'PR'),
(18, '00624', 'Penuelas', 'PR'),
(19, '00627', 'Camuy', 'PR');
If user enters zipcode, Then state and city column should be auto fill by
using database of zip code in django and jQuery .
Please let me know how to do this
--
You received
Hi,
The reason for this is that you are replacing the buttons when you update
the answer. The event listener that you attached is on the first one and
not the second one.
You can solve this in 2 ways:
1. Reregister the event listener when you have loaded the answer again.
2. Use a different way
My problem is that site registers only the first click on .upvote or
.downvote element and ignores next ones.
{% extends 'base.html' %}
{% load votes_exists %}
{% block title %}{{question.title|truncatechars:52}}{% endblock %}
{% block content %}
{{question.title}}
{{question.content}}
{% for
20, at 1:26 PM, Stephen J. Butler
> wrote:
>
> This isn't a jQuery issue, it's a JavaScript/ECMAScript issue. When you use
> the "arrow function" style like "() => { ...code... }" then certain variables
> are not bound into the function contact, including "
This isn't a jQuery issue, it's a JavaScript/ECMAScript issue. When you use
the "arrow function" style like "() => { ...code... }" then certain
variables are not bound into the function contact, including "this".
https://developer.mozilla.org/en-US/docs/W
I have a problem with Ajax and Django templates. I'm new to Ajax and jquery.
Console log at the end of the script prints undefined. I don't know why let
answerid = $(this).attr("answer-id"); doesn't extract attribute from this
line:
I also want to know if using template tags in
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
2m (self) adding another instance clicking on the {SHOW}
link just relocates to the top of the page. Has to be a jQuery thing
doesn't it?
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop rece
On 30/05/2019 8:22 pm, Mike Dewhirst wrote:
I just encountered a weird UI glitch[1] in the Admin after upgrading
to Django 2.2.1
I checked and found the version of jquery I'm using is 1.4.1 and
figured that has to be contributing to the problem.
The 2.1 release note says "jQuery is upg
offer advice on managing js deployment.
Thanks
Mike
On 30/05/2019 8:22 pm, Mike Dewhirst wrote:
I just encountered a weird UI glitch[1] in the Admin after upgrading
to Django 2.2.1
I checked and found the version of jquery I'm using is 1.4.1 and
figured that has to be contributing to the problem
I just encountered a weird UI glitch[1] in the Admin after upgrading to
Django 2.2.1
I checked and found the version of jquery I'm using is 1.4.1 and figured
that has to be contributing to the problem.
The 2.1 release note says "jQuery is upgraded from version 2.2.3 to
3.3.1."
Use iframes which loads the three different views
--
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
I am new to django, not tried it before just logicaly saying this should work.
Try doing this:
3tabs
Tab A = Tab 1
Tab B = Tab 2
Tab C = Tab 3
Tab A extend it view to Tab B
Tab B has a inner block to accept Tab B content and also extend it tab to Tab C
Tab C applies the same principle as Tab B
I think you want to load the data from view to html using jQuery.
I hope ajax concepts will used. Once try it.
On Tue 22 Jan, 2019 6:13 pm Ricardo Cataldi Hy guys, you all right?
>
> I have a problem that it seems not to be any answer in Stack Overflow.
>
> I need to load three
Hy guys, you all right?
I have a problem that it seems not to be any answer in Stack Overflow.
I need to load three views inside a template, and i decided to do that
based on html tags and JQuery. The bellow image shows how the front end
will look like:
[image: imagem_tab.png]
What happens
Please!
>
>
> https://stackoverflow.com/questions/50982220/multiple-image-upload-in-django-using-ajax-jquery
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails
Can someone please help me in this? This thing is literally giving me
headache from past few weeks. Please help. Please!
https://stackoverflow.com/questions/50982220/multiple-image-upload-in-django-using-ajax-jquery
--
You received this message because you are subscribed to the Google Groups
Hi...
I am creating one HTML table template in Django.But my question is how to
connect or work with my buttons help of jquery, and ajex.
methodology.and return getting the server message.please help me.
--
You received this message because you are subscribed to the Google Groups
"D
it to work.
{% load static %}
https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"</a>;>
{% csrf_token %}
{{ hdr1 }}
{% if my_apps_list %}
{% for my_apps in my_apps_list %}
$("#app{{ forloop.counter }}").click( function() {
document.getElement
See, if this
helps: https://stackoverflow.com/questions/8614947/jquery-and-django-csrf-token
On Tuesday, November 7, 2017 at 10:25:47 PM UTC+5:30, Tony King wrote:
>
>
> Hi,
>
> I thought I'd finally understood this but it seems I have not and I've
> spent far too much
my project in a different browser and then
subsequently cleared the cache of Chrome.
What am I doing wrong here?
I've not included the views.py as I'm assuming the issue is in the
JavaScript.
index.html
{% load static %}
https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js&
Hi guys,
I need to insert 2 datapicker in a django form.
I have not a form.py file.
My views.py related to the datepicker:
class DatePicker(forms.DateInput):
template_name = 'dkey.html'
class Media:
js = (
'js/jquery.min.js',
'js/jquery-ui.min.js',
)
css = {
'all': (
'css/jquery-ui.css
On Saturday 15 April 2017 17:31:50 Anonymous Coder wrote:
> I need to filter lists of items to be displayed upon user selection in
> my list view.
> For instance if user selects 12 it should show only 12 products per
> page and so on.
For this specific issue:
You can create a URL in your application to which your AJAX code will send the details and the amount of items it wants and your application will return the items in JSON format. Take a look at https://docs.djangoproject.com/en/1.11/topics/db/queries/ to learn about how to filter and limit your
-04-15 11:50 GMT+02:00 <anonymousco...@gmail.com>:
> I am using jquery to present a number of products as per user's selection on
> "Show" dropdown menu. If user selects to get 9, 12, 16 or 20 products per
> page it should show accordingly in my list view.
>
>
I am using jquery to present a number of products as per user's selection
on "Show" dropdown menu. If user selects to get 9, 12, 16 or 20 products
per page it should show accordingly in my list view.
Following is the code for HTML:
Show:
down votefavorite
<http://stackoverflow.com/questions/40725789/django-dynamic-formset-with-jquery-only-save-first-formset-instance?noredirect=1#>
So I have set up the following codes for sample from followed by inline
formset of its foreign key, sample detail. I also added some d
Thanks all,
I installed libjs-jquery into my active venv directory. It turns out
that libjs-jquery actually has 3 different virsions in it . I copied the
jquery.js file over to my /static/ file in Eclipse. It works fine.
Gary R.
On 11/10/2016 10:22 AM, Luis Zárate wrote:
Mmm why not just
{% static 'admin/js/vendor/jquery/jquery.min.js' %}
Assuming you have django.contrib.admin in your INSTALLED_APP, this will do
what you want.
2016-11-10 19:22 GMT+01:00 Luis Zárate <luisz...@gmail.com>:
> Mmm why not just download Jquery and create a folder called static ins
Mmm why not just download Jquery and create a folder called static inside
one controlled app, maybe pone inside the project.
If you want, you can use django admin jquery but $ is not available because
django use django.JQuery for prevent conflict with custom user jquery
El jueves, 10 de
Hi,
Sorry about the confusion. I misspoke. I was trying to imply that there
was a jquery.min.js file in the venv (djenv) file. As you implied, it
was installed with pip django. A very bad choice of words.
I am trying to set up my project so that I am not using a system version
of jquery
On Wed, Nov 09, 2016 at 01:54:57PM -0800, Gary Roach wrote:
> Ludovic
>
> Thank you for the reply but I know how to use static files. The problem is
> that I already have a jquery file under version control inside my virtual
> environment wrapper and do not wish to use an exte
Hi,
If, as you say, you "have a jquery file under version control inside [your]
virtual environment wrapper", I believe you are doing something wrong. We
normally don't put jquery files in virtualenv (although `pip install django`
will do so), and we normally do not version control the
On 9 November 2016 at 13:54, Gary Roach <gary719_li...@verizon.net> wrote:
> I want to know how to use the pip installed version of the jquery file if
> possible.
you can check what the admin templates do. probably something like
{% url "admin/js/vendor/jquery/jquery.min.j
Ludovic
Thank you for the reply but I know how to use static files. The problem
is that I already have a jquery file under version control inside my
virtual environment wrapper and do not wish to use an external file .
Use of a normal static file will open my application up to uncontrolled
Hello,
Django provide tools to deals with static files like javascript or
css. The documentation is at [1].
[1] https://docs.djangoproject.com/en/1.10/howto/static-files/
2016-11-09 21:26 GMT+01:00 Gary Roach <gary719_li...@verizon.net>:
> Hi all,
>
> I am just starting to use
Hi all,
I am just starting to use jQuery and Ajax in my project and am having
trouble setting things up.
I am using Eclipse + pyDev as an IDE. This setup stores everything in a
workspace directory in my home directory. Instead of putting the whole
project inside a virtualenv wrapper, things
Thanks.
On Friday, July 8, 2016 at 7:59:23 PM UTC+3, luisza14 wrote:
>
> See https://docs.djangoproject.com/en/1.9/topics/forms/media/
>
> 2016-07-08 10:58 GMT-06:00 Luis Zárate :
>
>>
>> 2016-07-08 10:24 GMT-06:00 :
>>
>>> and save the new im
>>
>>
>>
See https://docs.djangoproject.com/en/1.9/topics/forms/media/
2016-07-08 10:58 GMT-06:00 Luis Zárate :
>
> 2016-07-08 10:24 GMT-06:00 :
>
>> and save the new im
>
>
> You can start reading how to set css and js to form and admin site.
>
> See
>
>
>
>
I want to implement in Django Admin a jquery plugin that "adjust" and
image(http://guillotine.js.org/), them get the coordinates with ImageKit
and save the new image.
I need some tutorials and advises how to do it.
--
You received this message because you are subscribed to the Goo
> Are you using django admin template?
> Where are your Jquery call? in the header ?
>
> A template example could be useful.
>
> 2016-07-03 12:20 GMT-06:00 Seti Volkylany <setivolkyl...@gmail.com>:
>
>> It is not worked even the main admin page
>>
&g
Are you using django admin template?
Where are your Jquery call? in the header ?
A template example could be useful.
2016-07-03 12:20 GMT-06:00 Seti Volkylany <setivolkyl...@gmail.com>:
> It is not worked even the main admin page
>
> django.jQuery('body')
> Uncaught Refe
com> wrote:
> Replace $ by django.jQuery
>
> For example django.jQuery('body')
>
>
>
> El domingo, 3 de julio de 2016, Seti Volkylany <setivolkyl...@gmail.com>
> escribió:
> >
> > The Django`s docs tell next:
> > To avoid conflicts with user-supplied
Replace $ by django.jQuery
For example django.jQuery('body')
El domingo, 3 de julio de 2016, Seti Volkylany <setivolkyl...@gmail.com>
escribió:
>
> The Django`s docs tell next:
> To avoid conflicts with user-supplied scripts or libraries, Django’s
jQuery (version 2.1.4
The Django`s docs tell next:
To avoid conflicts with user-supplied scripts or libraries, Django’s jQuery
(version 2.1.4) is namespaced as django.jQuery. If you want to use jQuery
in your own admin JavaScript without including a second copy, you can use
the django.jQuery object on changelist
Hi, i also started using django-image-cropping and i found that we can
specify a custom Jquery version in the Django settings like this
IMAGE_CROPPING_JQUERY_URL
= ""
On Thursday, June 9, 2016 at 9:34:53 PM UTC+1, sevenr...@gmail.com wrote:
>
> I'm try to use jquery and
t; 'use strict';
> >
> > })(django.jQuery);
>
> This syntax is called a closure. First you declare a function so you
> don't contaminate the global scope with your local declared variable.
> Then you execute your function.
> I will assume django.JQuery is the version of JQuery shipp
> (function($) {
> 'use strict';
>
> })(django.jQuery);
This syntax is called a closure. First you declare a function so you
don't contaminate the global scope with your local declared variable.
Then you execute your function.
I will assume django.JQuery is the versi
I can't help at all with jquery but IIRC there is a question in the
Admin "Are you sure?" when you try deleting something from a list view.
Might be a start
Mike
On 10/06/2016 1:06 AM, Olivier Dalang wrote:
Hi !
I'm using several modules that rely on jQuery, and have some own nee
I'm try to use jquery and python to "crop" a image in Django. I want to
work in admin but also in front-end.
The user selects a box/rectangle, for the portion of the image that he want
to crop.
django-image-cropping
<https://www.djangopackages.com/packages/p/django-image-crop
Hi !
I'm using several modules that rely on jQuery, and have some own needs as
well :
- admin
> - grappelli
> - autocomplete light
> - session security
> ...
I also see that there are tons of different variables that reference
jQuery, defined by theses modules, some of which
I found useful ajaxform.js, moment.js, jcrop.js may be someone known yet?
--
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
May be there is something simpler than Ajax request?
четверг, 10 марта 2016 г., 14:20:17 UTC+2 пользователь Sergiy Khohlov
написал:
>
> Ajax ?
> Have you checked this one ?
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
> On Thu, Mar 10, 2016 at 2:18 PM,
Ajax ?
Have you checked this one ?
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Thu, Mar 10, 2016 at 2:18 PM, wrote:
> I had method model that generate dict, sample:
>
> {
> 'translators': 5,
> 'glossaries': 1,
> 'abbrs': 0,
> }
>
> I want
I had method model that generate dict, sample:
{
'translators': 5,
'glossaries': 1,
'abbrs': 0,
}
I want known, how transfer data without hidden fields in html file. I need
here for generate google-chart.
--
You received this message because you are subscribed to the Google Groups
On Sun, Feb 28, 2016 at 9:46 PM, wrote:
>
> I need get path to local file in for ImageField.
> Next, transfer path to my view thought Ajax request, update in database and
> almost all.
>
> I need will make it manually, for my goals.
>
> May be, anyone known how it
Usually image_file.url (assuming image_file is the name of your ImageField)
should give you the full path to the local file. Not sure what you're using
for your Ajax function/call though and how you have your web app set up on
the REST part.
On Sun, Feb 28, 2016 at 2:46 PM,
I need get path to local file in for ImageField.
Next, transfer path to my view thought Ajax request, update in database and
almost all.
I need will make it manually, for my goals.
May be, anyone known how it make?
I am tried already django-ajaximage, Ajaxfileupload and many other, but it
of my template.I
> basically need to get the filter i want to apply on the databse entry using
> data available from user selection(using jquery).Any suggestions on how i
> can achieve this?
>
--
You received this message because you are subscribed to the Google Groups
&q
I basically have the database entries in the namespace of my template.I
basically need to get the filter i want to apply on the databse entry using
data available from user selection(using jquery).Any suggestions on how i
can achieve this?
--
You received this message because you
I basically want to run a jquery script that gets data of an html
tag and then use that value to query the database.Any suggestions would be
very helpful!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
You pretty much answered it yourself.
>there's just one actual html page and inside it we have to create a page
(data-role="page")
Django's template helps you put together the response that gets to the
client. It's unaware of what your CSS and Javascript frameworks will do
with that response.
Django provides many features for the template (extends, block content
etc.) I am just learning jquery mobile, but so far when using jquery
mobile, there's just one actual html page and inside it we have to create a
page (data-role="page"). So, how can we utilize the django's templatin
to the
POST handler URL /users/login/ with the expected JSON string response(i.e.
JsonResponse) - {"error": ["Entered mobile number is not registered"]}
Please check this stackoverflow link
<http://stackoverflow.com/questions/31262427/django-jquery-ajax-submit-form-post-req
Hi,
we had a very strange problem with the ordering of the JS files.
the jquery.init.js from django removed the jquery from us which had
jquery-ui loaded.
The problem is solved.
Thomas Güttler
Am Dienstag, 2. Juni 2015 17:24:56 UTC+2 schrieb ke1g:
>
> Are you saying that you can't
Are you saying that you can't access it as django.jQuery ?
On Tue, Jun 2, 2015 at 4:22 AM, guettli <h...@tbz-pariv.de> wrote:
> I guess I am missing something.
>
> Is there no way to load jquery only once per page?
>
> Use case: I have two widgets which need jquery. I want t
I guess I am missing something.
Is there no way to load jquery only once per page?
Use case: I have two widgets which need jquery. I want to use
these widgets inside the admin interface and on custom pages.
The admin interface has its own jquery and in jquery.init.js this gets done:
var django
I'm constructing my file-upload dialog using jquery(jq)/javascript/html
where the file-upload is supposed to begin like this:
htmlStr = 'SELECT FILE TO
UPLOAD:';
jq("#upldfildialog").append(htmlStr);
Everything seems to work except for actually being able to captur
Hi Robert
Could you please specify more clearly how you "added jqueryui to my
settings.py" ?
It should be handled like any other static file and doesn't really have
a place in settings.py
Do your other static files (images, css, etc) load?
Best
Seems tough to get the Jquery UI
Seems tough to get the Jquery UI code to do anything like on Jquery.com Im
using there demos just to get my feet wet ive already added jqueryui to my
settings.py
I already did collectstatic
I added the draggable demo to an html template created the view it shows on
the page but does not allow
Hello,
I got the same kind of probleme while working on the formset
couple days ago.
If this is related, the problem is the auto complete javascript that
doesn't go well with the jquery.formset.js.
You can add a function "added" in parameter of the formset function
for reloading the
Hello all,
I'm trying to build this following link feature in django,
http://demo.smarttutorials.net/jquery-autocomplete/
Here by choosing serial_no and the rest of the fields name and author
should be auto populate. Auto populate works for first inline formset and
able to save it but when
if you comment middleware csrf this is a risk security problem in your app
maybe you need read this part of documentation
https://docs.djangoproject.com/en/1.7/ref/contrib/csrf/#ajax
Cheers
On Sat, Jan 17, 2015 at 10:44 PM, Hossein Rashnoo wrote:
> I correct my code and
; url(r'^$', 'post.views.home', name='home'),
> url(r'^aget/', 'post.views.aget'),
> #url(r'^admin/', include(admin.site.urls)),
> )
>
>
> my templete:
>
> {% csrf_token %}
>
> ajaxpo
> ajaxge
>
>
>
>
>
> http://code.jquery.com/jquery-1
', name='home'),
url(r'^aget/', 'post.views.aget'),
#url(r'^admin/', include(admin.site.urls)),
)
my templete:
{% csrf_token %}
ajaxpo
ajaxge
http://code.jquery.com/jquery-1.11.2.min.js"</a>;>
function aget(){
$.ajax({ type: 'GET',
I correct my code and it's worked. Thank you guys for your help.
Ajax Code:
function checkuser() {
var myObject = new Object();
myObject.username = $('#username').val();
myObject.password = $('#password').val();
$.ajax({
url: 'http://10.252.84.159/ajaxrecivelogin/',
Maybe it's triggering the CSRF validation? What error message are you
getting exactly from the server?
On Sat, Jan 17, 2015 at 10:37 AM, Erwin Sprengers
wrote:
> Hello,
>
> POST works fine for me, I use the following django code :
>
> at the end of the view :
>
> return
Hello,
POST works fine for me, I use the following django code :
at the end of the view :
return HttpResponse(simplejson.dumps(response_dict),
mimetype='application/javascript')
and following ajax code :
$.ajax({
url: '/ajax/is_key_mm/',
type: 'POST',
I use this code to send a request:
function checkuser() {
$.ajax({
url: 'http://10.252.84.159/ajaxrecivelogin',
//type: 'POST',
data: "{'username': 'aa', 'password' : 'bb'}",
context: this,
dataType: 'json',
success: function (data) {
I have published a small snippet
at
https://github.com/ustun/ensure-trailing-slash-for-jquery-ajax/blob/master/ensure_slash.js
that automatically adds a trailing slash to every outgoing AJAX request so
as to minimize accidental redirects.
Best,
Ustun
(Inspired by https
You need
--
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
ces, we need no Windows or Gates.
On 9/23/14 2:15 PM, Артём Мутерко wrote:
When I try to include jQuery to my template index.html,
I get an blank page. Html source code is loading but I get just white page
--
You received
When I try to include jQuery to my template index.html,
I get an blank page. Html source code is loading but I get just white page
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving e
Perfect, thank you
On 9/1/14, Collin Anderson wrote:
> If the url name is not guessable (for example, it includes a secure random
> string, like django's forgot password url), that should provide enough
> security.
>
> Though you can always pass in the csrf token using
If the url name is not guessable (for example, it includes a secure random
string, like django's forgot password url), that should provide enough
security.
Though you can always pass in the csrf token using javascript:
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
--
You
I am completely new to AJAX and I was wondering. I have a a view that ajax
is posting to but in order for the request to be processed in the view
correctly i have to add csrf_exempt decorator to that view, but is that
safe? I named the url for that view with a name that would not be
14-08-30 4:57 GMT+02:00 Antonio Russoniello
<aruss...@musicparticles.com <mailto:aruss...@musicparticles.com>>:
Now I can read data from ajax to my def but I have not idea to
how send, for examle, an array to jquery and manage this from
javascript...
I tri
ta from ajax to my def but I have not idea to how send,
> for examle, an array to jquery and manage this from javascript...
>
> I tried:
>
> def json_prueba(request):
> arrg = [1,2,3,4]
> if request.method == 'POST':
> return HttpResponse(simplejson.dum
1 - 100 of 540 matches
Mail list logo