Re: Getting error 500 when using jquery/ajax

2013-01-19 Thread Dex
On Saturday, January 19, 2013 10:57:53 AM UTC-5, Raphael wrote: > > @ Dex, > > So you want to store the actual game state in the db to recover > game-session-data after a period of time > and/or to perform game logic on the server side. > > well I am sure you already k

Re: Getting error 500 when using jquery/ajax

2013-01-19 Thread Dex
still fairly new to programming overall, so I don't really know a lot about array handling with Django's ORM. On Saturday, January 19, 2013 10:57:53 AM UTC-5, Raphael wrote: > > @ Dex, > > So you want to store the actual game state in the db to recover > game-session-data af

Re: Getting error 500 when using jquery/ajax

2013-01-19 Thread Dex
uldn't figure out what type of field to use for an array I decided to use a CharField with a default value of " " * 100. The "spot" variable in my javascript is supposed to point to the position of creator_target_board to be modified. On Saturday, January 19, 2013 10:1

Re: Getting error 500 when using jquery/ajax

2013-01-19 Thread Dex
> return something other than None (which is what gets returned if you don't > use the return statement). (But I'm not sure of that. I've always had > something > to return.) > > Bill > > On Sat, Jan 19, 2013 at 5:35 AM, Raphael > > > wrote: > &

Getting error 500 when using jquery/ajax

2013-01-18 Thread Dex
Hi, I'm new to Django. I'm creating a game that has a 10x10 board and when a cell is clicked upon, it will be marked with an "X". Marking the cells works in jquery but I want to send data to server side to let it know that the cell is marked. That way when I quit the game and come back later, i