Re: web 2.0 apps with django

2008-10-27 Thread RaviKondamuru
I am looking for some apps/ tutorials to understand comet/ bosch models for web application development. I understand that web 2.0 applications use these models. thanks, Ravi. On Oct 27, 12:44 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Wiadomość napisana w dniu 2008-10-27, o godz. 20:36, przez

ability to show intermediate results before final response

2008-05-16 Thread RaviKondamuru
Hi, How do i make my django app to show intermediate results/ steps before showing the final response. My script inherently takes a lot of time. I was wondering if there is a way to engage the user by showing partial intermediate results before showing the final response. thanks, Ravi. --~--~-

Re: Form submit URL has "/" in front of "?"

2008-05-14 Thread RaviKondamuru
D]> wrote: > On Wed, Apr 30, 2008 at 6:32 PM, RaviKondamuru <[EMAIL PROTECTED]> > wrote: > > > > > Changing > > > the urls.py to > > (r'^s/b$', status) > > and > > submit action to > > action="/s/b" from action

browser based file diff libraries

2008-05-14 Thread RaviKondamuru
HI, I am trying to generate file diff's and show them in the browser. Are there any python/ django libraries/templates that facilitate showing diffs? I am trying to understand and do something similar to how trac generates line numbered color coded diff's of files in a repository. thanks, Ravi. --

Re: Form submit URL has "/" in front of "?"

2008-04-30 Thread RaviKondamuru
;[EMAIL PROTECTED]> wrote: > On Wed, Apr 30, 2008 at 5:19 PM, RaviKondamuru <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > The form submit has the URL in the format:http://10.217.6.53/s/b/?id=2. > > The "/" before the ?id=2 in the URl seems

Form submit URL has "/" in front of "?"

2008-04-30 Thread RaviKondamuru
Hi, The form submit has the URL in the format: http://10.217.6.53/s/b/?id=2. The "/" before the ?id=2 in the URl seems to be incorrectly placed. It works, but the syntax seems to be wrong. Is there a problem in my urlconf? (r'^s/b/$', status), Is that "/" alright to have? How do I get rid of it

Re: accessing dictionary values in a template for loop

2008-04-28 Thread RaviKondamuru
Figured out. {{ values|length }} gives the length of the list to be used for rowspan tag. thanks, Ravi. On Apr 28, 1:16 pm, RaviKondamuru <[EMAIL PROTECTED]> wrote: > Thanks. With results.items, both solutions work on the svn current > version. > > The variable value is a list.

Re: accessing dictionary values in a template for loop

2008-04-28 Thread RaviKondamuru
Thanks. With results.items, both solutions work on the svn current version. The variable value is a list. I would like each key,value to be in a separate row. {% for key, values in results.items %} {% for value in values %} {{ key }} {{ value }

accessing dictionary values in a template for loop

2008-04-27 Thread RaviKondamuru
Hi, I have the following lines of code to access the key, values in a template for loop. {% for key in results %} {{ key|escape }} {{ results.key }} {% endfor %} results.key is being treated as results['key'] and hence alwa

Re: Distributed databases

2008-04-16 Thread RaviKondamuru
Here is the thread that talks about multiple database support: http://groups.google.com/group/django-users/browse_frm/thread/02fb947b2305b78f/8999719cad4a6010 Ravi. On Apr 16, 6:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > This is my first post on this list, so plea

Accessing multiple databases

2008-04-15 Thread RaviKondamuru
Hi, I am intending to use two different databases. Essentially retrieve some data from a remote database and have some data in the local database. Is such configuration supported in Django? Any pointers to such configuration possibility? thanks, Ravi. --~--~-~--~~~---~-