Re: ajax POST request being sent as GET

2015-12-15 Thread Simon Charette
Hi Larry, It's more of a JavaScript question but my first guess would be you'd need to use the `type` option instead of `method` because you are using an old version of jQuery? Simon Le mardi 15 décembre 2015 17:25:12 UTC-5, larry@gmail.com a écrit : > > I am sending an ajax POST request lik

Re: ajax POST request being sent as GET

2015-12-15 Thread Neto
$.post( "ajax/test.html", function( data ) { $( ".result" ).html( data ); }); Em terça-feira, 15 de dezembro de 2015 20:25:12 UTC-2, larry@gmail.com escreveu: > > I am sending an ajax POST request like this: > > $.ajax({ > url: url, > method: 'POST', > dataType: "json", >

Re: Gsoc 2016 contribution

2015-12-15 Thread Tim Graham
Hi Yash, Learning our contributing process and having a solid track record of contributing patches will enhance your chances of writing a successful application. If you don't have any Django experience, start with our tutorial: https://docs.djangoproject.com/en/dev/intro/tutorial01/ After you

Re: ajax POST request being sent as GET

2015-12-15 Thread Larry Martell
On Tue, Dec 15, 2015 at 5:45 PM, Daniel Chimeno wrote: > Hello, > > This is more a jQuery issue than a Django one, but it could be because of > the quotes. > > From: http://api.jquery.com/jquery.ajax/ > > var menuId = $( "ul.nav" ).first().attr( "id" ); > var request = $.ajax({ > url: "script.p

Re: ajax POST request being sent as GET

2015-12-15 Thread Daniel Chimeno
Hello, This is more a jQuery issue than a Django one, but it could be because of the quotes. From: http://api.jquery.com/jquery.ajax/ var menuId = $( "ul.nav" ).first().attr( "id" ); var request = $.ajax({ url: "script.php", method: "POST", data: { id : menuId }, dataType: "html" });

Re: Gsoc 2016 contribution

2015-12-15 Thread Daniel Chimeno
Improve your Python skills. Improve/learn your Django skills. Stay tuned in the community :) El martes, 15 de diciembre de 2015, 18:54:51 (UTC+1), Yash Sharan escribió: > > hello my name is Yash Sharan and i'm a first year student at BITS Pilani > Goa campus,India. i know basic python.How can i

Re: Customizing Admin Layout and templates

2015-12-15 Thread Daniel Chimeno
Hello, If you want to build a CMS, you could use some apps or projects that are out there: https://www.djangopackages.com/grids/g/cms/ El martes, 15 de diciembre de 2015, 20:05:31 (UTC+1), Mayank Singhal escribió: > > Hello, > I am new to django. I want to customize the admin panel templates and

ajax POST request being sent as GET

2015-12-15 Thread Larry Martell
I am sending an ajax POST request like this: $.ajax({ url: url, method: 'POST', dataType: "json", data: { recipe: recpie } }) But the request is being sent as a GET: Request URL: http://127.0.0.1/api/update_measbox?recipe=MALBHDPOR Request Method: GET Status Code:200

"Error creating new content types" with multiple DB router

2015-12-15 Thread Carlton Gibson
Hi, Using multiple DBs, with most models in the "default" db but models for a single app being stored in a second DB, I've more or less copied the example from the docs for a custom database router. (My example is essentia

Re: Django decision for tour reservation database

2015-12-15 Thread Tyler Kelly
I was very new to python and its frameworks a couple months ago and ran into a similar roadblock. For my first site I used Django and it was very time consuming and understanding the file structure took me a long time (mostly due to the fact that I was very impatient at the time due to time con

Radio button

2015-12-15 Thread piasek piasek
I would like prepare django form for several entries for one model. Let's assume I have model Photo where I upload and save image. >From model I will takie 10 entries and for each of image I would like generate forms to set title, description, check if photo is active. That part I have it and is w

Customizing Admin Layout and templates

2015-12-15 Thread Mayank Singhal
Hello, I am new to django. I want to customize the admin panel templates and layouts. How can i do that can somebody provide me the tutorial. I want to convert it in a panel like Wordpress or Joomla Admin Panel. -- You received this message because you are subscribed to the Google Groups "Djang

Re: update Django

2015-12-15 Thread Andreas Kuhne
Hi, As previously stated. Give us some more details and we can probably help you. I have done upgrades from 1.3 to 1.8 and 1.5 to 1.8 in different projects, we can probably help if we get some more information :-) Regards, Andréas 2015-12-15 16:55 GMT+01:00 Ovnicraft : > > > On Tue, Dec 15, 20

Gsoc 2016 contribution

2015-12-15 Thread Yash Sharan
hello my name is Yash Sharan and i'm a first year student at BITS Pilani Goa campus,India. i know basic python.How can i enhance my current skills so that i may be able to contribute towards your projects during Gsoc 2016. Thanks -- You received this message because you are subscribed to the Go

Re: update Django

2015-12-15 Thread Ovnicraft
On Tue, Dec 15, 2015 at 5:57 AM, Hugo Cosme wrote: > Good morning to all, someone here has already done the update of some > version of django, as of 1.5 to 1.8 for example? I'm having some > difficulties! > Hi Hugo, please gives us more details about your problem, which steps do you follow and

Re: update Django

2015-12-15 Thread François Schiettecatte
Such as…? François > On Dec 15, 2015, at 5:57 AM, Hugo Cosme wrote: > > Good morning to all, someone here has already done the update of some version > of django, as of 1.5 to 1.8 for example? I'm having some difficulties! > > -- > You received this message because you are subscribed to the

update Django

2015-12-15 Thread Hugo Cosme
Good morning to all, someone here has already done the update of some version of django, as of 1.5 to 1.8 for example? I'm having some difficulties! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Django decision for tour reservation database

2015-12-15 Thread graeme
If in doubt use the full stack framework - you do not have to use features you do not want. On the other hand if you use a micro-framework and later decide you need the features of the full stack framework you have to port your code. I suggest using PostgreSQL instead of MySQL - it handles thi