Re: Threaded application + IntegrityError

2009-07-31 Thread ramya
http://stackoverflow.com/questions/1212864/threaded-application-integrityerror On Jul 31, 9:41 am, ramya wrote: > Hi, > I have python threaded application + Postgres. I am using Django's ORM > to save to Postgres.. > I have concurrent save calls. Occasionally 2 threads sav

Threaded application + IntegrityError

2009-07-31 Thread ramya
ication and need an ORM.. So naturally I chose Django b. How to handle this situation.. Any comments. Thanks and regards, Ramya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: request.user Null value in foreign key save[Repost]

2009-04-08 Thread ramya
Exactly.. That worked.. Thanks a ton.. I should save with the object returned from formContent.save(commit = False) new_property = formContent.save(commit=False) .. new_property.save() Thanks, Ramya Krishnan On Apr 8, 11:06 am, Adi Sieker wrote: > Hi, > > On 08.04.2009, at 16:43, ra

request.user Null value in foreign key save[Repost]

2009-04-08 Thread ramya
ts the username.. so request.user is not NULL.. Any help is appreciated. Thanks and Regards, Ramya Krishnan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Populating Foreign key in modelform with exclude

2009-04-07 Thread ramya
48, "Column 'user_id' cannot be null") b. if the field name is user Throws an sql error OperationalError at /addProperty (1054, "Unknown column 'user_id' in 'field list'") Any pointers. Thanks and Regards, Ramya Krishnan --~--~-~--~~-

Query regarding field.is_hidden

2009-03-12 Thread ramya
.. But cant figure out Thanks, Ramya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, sen

Re: variable tag / filter

2008-10-23 Thread ramya
I would strongly argue against it, as it would make your > templates unreadable--how would you know what filter/tag would be > called without mucking through the rest of your code? Maybe there's a > better way to get the effect you want--what are you trying to achieve? > > -Jeff

Re: variable tag / filter

2008-10-23 Thread ramya
I would strongly argue against it, as it would make your > templates unreadable--how would you know what filter/tag would be > called without mucking through the rest of your code? Maybe there's a > better way to get the effect you want--what are you trying to achieve? > > -Jeff

Re: variable tag / filter

2008-10-23 Thread ramya
I would strongly argue against it, as it would make your > templates unreadable--how would you know what filter/tag would be > called without mucking through the rest of your code? Maybe there's a > better way to get the effect you want--what are you trying to achieve? > > -Jeff

variable tag / filter

2008-10-23 Thread ramya
Is it possible to have variable tags / filters {{ my_value | my_filter }} where c['my_filter'] = 'formatDateTime' formatDateTime is the actual filter function defined in templatetags similarly {{ my_tag my_filter }} where c['my_tag'] = 'formatDateTime' formatDateTime is the actual tag function

Best practice... page specific details in views or templates

2008-10-23 Thread ramya
I right now, have written my templates in a generic fashion.. say the page title/ headers come from view.. table column headings all come from view.. and a single template is used for all views.. I have 2 options a. Build the object as well as pass the set the variables for titles / headings in

Re: template tags with variables as arguments

2008-10-22 Thread ramya
Awesome.. Worked.. Thanks !! ~ramyak/ On Oct 22, 3:52 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > n 22 oct, 12:14, ramya <[EMAIL PROTECTED]> wrote: > > > I am probably turning blind.. but I am still not able to figure out > > why string "value"

Re: template tags with variables as arguments

2008-10-22 Thread ramya
I am probably turning blind.. but I am still not able to figure out why string "value" is being passed instead of value "value" I have the following template {% for value in list %} {% formatDateTime_5 value %}

template tags with variables as arguments

2008-10-22 Thread ramya
a. Can template tags take arguments (not a string) {% formatDateTime_5 value %} where value is a variable time data did not match format: data=value fmt=%Y-%m-%dT%H:%M:%S+ b. Can template tags take objects as arguments.. tat is if the above is possible.. Regards, ~ramyak/ --~--~-~-

Free Mp3 Our Wav Tones , 3gp Mobile Videos Songs ( Newly Added )

2008-06-04 Thread ramya
Free Mp3 Our Wav Tones , 3gp Mobile Videos Songs ( Newly Added ) Free The Corss Video Free music,movie,divx Free Music Video Free Your entertainment store is here! Watch the fresh & latest videos *** http://www.freewebs.com/mp3-information/ *