Re: ManyToMany field documented correctly on django docs ?

2010-06-08 Thread gvkalra
I have done that: Here is the ticket: http://code.djangoproject.com/ticket/13718 On Jun 8, 4:56 am, Russell Keith-Magee wrote: > On Tue, Jun 8, 2010 at 4:07 AM, gvkalra wrote: > > Hi. > > Please have a look > > here:http://docs.djangoproject.com/en/1.2/topics/db/m

ManyToMany field documented correctly on django docs ?

2010-06-07 Thread gvkalra
Hi. Please have a look here: http://docs.djangoproject.com/en/1.2/topics/db/models/#many-to-many-relationships The line I am pointing to is: As with ForeignKey, you can also create recursive relationships (an object with a many-to-one relationship to itself) and relationships to models not yet de

Re: Open source project looking for developer

2010-06-01 Thread gvkalra
Thumbs up from me! On Jun 1, 4:31 pm, James wrote: > Pressed the wrong button and posted prematurely ... :-/ > > Hi, > > http://www.myjobseek.net/is a tool for job seekers to organise their > job hunt, storing details of jobs applied for and applications, making > it easy to re-use covering lette

Re: Auto populate currently logged in user's user id in forms

2010-05-31 Thread gvkalra
I think that I figured it out . we can use commit=False then get the user from request.user .. am I correct ? ... any other way ?? On May 31, 6:03 pm, gvkalra wrote: > Hi. > Here what I have > donehttp://github.com/gvkalra/showtime/blob/master/photo/views.py > &

Auto populate currently logged in user's user id in forms

2010-05-31 Thread gvkalra
Hi. Here what I have done http://github.com/gvkalra/showtime/blob/master/photo/views.py What I want to do is: Auto populate the database with currently logged in user's user id like it has been done with the date of creation of the record by using uploaded = models.DateField(auto_now_add

Re: passing variable values in javascript being served statically

2010-05-29 Thread gvkalra
:25 am, Daniel Roseman wrote: > On May 24, 8:24 pm,gvkalra wrote: > > > > > Hi. > > I am trying to do something like this: > > > views.py > > > return render_to_response('abc.html',{'variable':value}) > > > abc.html > >

Re: passing variable values in javascript being served statically

2010-05-24 Thread gvkalra
gt; I think you can use xyz.js as a template : >  return render_to_response('xyz.js' > > > > > {'variable':value}) > > Your problem is more a javscript problem of variable visibility as src="xyz.js"> doesn't properly make an include. > &

passing variable values in javascript being served statically

2010-05-24 Thread gvkalra
Hi. I am trying to do something like this: views.py return render_to_response('abc.html',{'variable':value}) abc.html dummy = {{variable}}; My problem: I am not able to use dummy inside xyz.js ... OR is there some other way by which I can use {{variable}} inside xyz.js ?? -- You recei

django vs tornado

2010-03-03 Thread gvkalra
hi i have a presentation to make on django, wherein I have decided to include a section on Tornado I wish to show performance comparisons between django and tornado . how do I set up the scenario ?? . what I intend to achieve is this graph: http://wiki.developers.facebook.com/imag

Re: "django-admin.py startproject xyz" opens text editor

2010-02-09 Thread gvkalra
> On Tue, Feb 9, 2010 at 12:07 PM, Karen Tracey wrote: > > On Tue, Feb 9, 2010 at 1:32 AM, gvkalra wrote: > > >> "django-admin.py startproject xyz" opens my default text editor viz. > >> Notepad++ and opens the file django-admin.py in it for editing...Wh

"django-admin.py startproject xyz" opens text editor

2010-02-08 Thread gvkalra
"django-admin.py startproject xyz" opens my default text editor viz. Notepad++ and opens the file django-admin.py in it for editing...What could be the reason? I am not able to create a project -- You received this message because you are subscribed to the Google Groups "Django users" group. To