[no subject]

2014-05-02 Thread Igor Korot
Hi, ALL, This is my first official post here so be gentle... ;-) I'm trying to make an application based on the following db structure: table 1: id - primary key, fname char(40), lname char(40) table 2: id - primary key, position char(20) table 3: table1_id, table2_id - foreign key Now, from wha

Re: JSON serialization

2014-01-18 Thread Igor Korot
> Your json data should be in the response How do I do that? Could you give me some code, please? Or at least point to the docs... Thank you. > > On 18 Jan 2014 09:16, "Igor Korot" wrote: > > Hi, guys, > > On Sat, Jan 18, 2014 at 12:02 AM, Babatunde Akinyanmi

Re: JSON serialization

2014-01-18 Thread Igor Korot
ol (jqxGrid)... Anybody familiar with this library? Thank you. > >> >> On 18/01/2014 4:53 pm, "Igor Korot" wrote: >>> >>> Hi, ALL, >>> I'd like someone to help me understand this situation. >>> Looking at the page: >>> https:/

JSON serialization

2014-01-17 Thread Igor Korot
Hi, ALL, I'd like someone to help me understand this situation. Looking at the page: https://docs.djangoproject.com/en/dev/topics/serialization/ the part which says "Serialization formats->JSON" there is an example of how the data would be serialized. The sample uses the symbol "double quotation

Server return error 304

2014-01-16 Thread Igor Korot
Hi, ALL, I'm getting an error 304 trying to locate the JavaScript files on my dev machine. Here's what I did. I created a project and then created an application according to the tutorial. Looking at https://docs.djangoproject.com/en/1.5/howto/static-files/ I made sure that "STATIC" environment va

Re: Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
you. > > Regards, > Arun > > > On Friday, January 10, 2014 2:30:20 PM UTC+5:30, Igor Korot wrote: >> >> Hi, ALL, >> I have a little problem. >> I'm trying to connect the Django based application with jQuery/jQWidgets >> (specifically jq

Re: Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
he proper data to the page itself. Any other suggestions? Thank you. > > On 10/01/2014 8:00 pm, "Igor Korot" wrote: >> >> Hi, ALL, >> I have a little problem. >> I'm trying to connect the Django based application with jQuery/jQWidgets >> (specifi

Anybody familiar with JavaScript: Page is empty

2014-01-10 Thread Igor Korot
Hi, ALL, I have a little problem. I'm trying to connect the Django based application with jQuery/jQWidgets (specifically jqxGrid). Here's what I've done: This is my views.py file: [code] def displayusbtable(request): usb_list = USB.objects.all() return render_to_response('html/index.

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
Tundebabzy, I understand that. But at the same time it should make some sense, otherwise what is the point of having this label (__unicode__() function), right? Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said that

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
ot;? Because as far as I understand those 2 fields will be displayed as one. Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said that I need to create __unicode__() function to > properly display the results of my mod

Re: Question about the __unicode__()

2014-01-08 Thread Igor Korot
t now following tutorial, I don't see a database text when displaying the records. Thank you. On Wednesday, January 8, 2014 3:03:58 PM UTC-8, Igor Korot wrote: > > Hi, ALL, > In the tutorial it is said that I need to create __unicode__() function to > properly display the resu

Question about the __unicode__()

2014-01-08 Thread Igor Korot
Hi, ALL, In the tutorial it is said that I need to create __unicode__() function to properly display the results of my model. Unfortunately the tutorial is using only one text field and everywhere I looked people are using something related, i.e. first_name+last_name and so they can create a tup

Incorporate jQuery grid with django

2014-01-07 Thread Igor Korot
Hi, ALL, This is my first post to this group so please bear with me for a sec. I successfully installed django and followed the tutorial to create a project and an application. It connects to my DB (mySQL) and everything is good. Now in the part 3 of the tutorial I need to create a view. I did c