Re: Really simple python message queue

2010-11-27 Thread Venkatraman S
On Sun, Nov 28, 2010 at 12:01 PM, Anand Agarwal wrote: > Really simple python message > queue > http://bit.ly/dHRQ1y > > Self-promotion? -- You received this message because you are subscribed

Really simple python message queue

2010-11-27 Thread Anand Agarwal
Really simple python message queue http://bit.ly/dHRQ1y -Anand -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Inclusion Tag Permissions

2010-11-27 Thread jayhalleaux
So I am trying to create a navbar that is altered by users logging in and out. It is created using an inclusion tag which takes its context. I tried passing permissions via: return { 'perms': context['perms'], 'user': context['user'], etc... } when making the

Django on a hosting service

2010-11-27 Thread Todd Wilson
I'm helping some friends improve a portal website they have created using PHP, but which would be ideal for Django, in the sense that a lot of the work they've already done, and would like to do as they improve the site, would be easy to do in Django. They have a hosting contract with Intermedia

Tracking model object changes

2010-11-27 Thread rahul jain
Found very similar projecst but not sure which one to use it. Would like to track the modified object , modified time and the user who modified it. - Django Audit for MongoDB - AuditTrail - AuditLog

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread Steve Holden
On 11/27/2010 10:37 AM, sami nathan wrote: > But i am not havin python intreptor i use my command prompt this way > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\Users\ezhil>python > Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC

Re: Create an object before calling the save method

2010-11-27 Thread Christophe Pettus
On Nov 27, 2010, at 2:56 PM, bnabilos wrote: > What I want to do is creating a title based on what I write in the > ForeignKey field before creating the category so it can be used > immediately. You can do just that. Just accept the title in a CharField, without a choices= option, and then

Create an object before calling the save method

2010-11-27 Thread bnabilos
Hello I want to create an object in Django before calling the save method. This object will be created from a ForeignKey Value, I've changed the foreignkey field to look like an input field in order to write a value instead of selecting it. I have 2 classes in 2 different model files class

list_editable asynchronous

2010-11-27 Thread rahul jain
How to make list _editable asynchronus ? I would not like to save by pressing save button. Instead, as soon as I modify the wizard it should save by itself. Thanks. Rahul -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: populating model values into form

2010-11-27 Thread Daniel Roseman
On Nov 27, 1:11 pm, djangobeginner wrote: > Hi, > Im a beginner here, would just like to ask how to pass and populate > model values (from database) into a created form, I have the following > codes > > 1. I already have a webpage list of all the values in a table

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
But i am not havin python intreptor i use my command prompt this way Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ezhil>python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on wi 32 Type "help",

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread Kev Dwyer
On Sat, 27 Nov 2010 20:57:17 +0530, sami nathan wrote: > for creating server.py from wsdl file i am using this following code i > dont na weather its right but its not creating any file but its throwing > error wsdl2py --extended --file=D;\soap\FlyppSms.wsdl > File "", line 1 > wsdl2py

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
for creating server.py from wsdl file i am using this following code i dont na weather its right but its not creating any file but its throwing error >>> wsdl2py --extended --file=D;\soap\FlyppSms.wsdl File "", line 1 wsdl2py --extended --file=D;\soap\FlyppSms.wsdl

Re: TemplateSyntaxError with block trans

2010-11-27 Thread Łukasz Rekucki
On 27 November 2010 14:12, Vyrphan wrote: > Hi there mates, > > I've created a new site, and all is running ok. Last step in my > development plan was to add support for internacionalization (by now, > only 2 languages) > > I just added blocktrans in my templates in several

TemplateSyntaxError with block trans

2010-11-27 Thread Vyrphan
Hi there mates, I've created a new site, and all is running ok. Last step in my development plan was to add support for internacionalization (by now, only 2 languages) I just added blocktrans in my templates in several places, and i'm getting allways the same exception Invalid block tag:

populating model values into form

2010-11-27 Thread djangobeginner
Hi, Im a beginner here, would just like to ask how to pass and populate model values (from database) into a created form, I have the following codes 1. I already have a webpage list of all the values in a table form 2. If I click on any of the row with primary key id (example: clicking edit

Weird session behavior with mod_python

2010-11-27 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently trying to debug some weird session handling issues for a Django application (Review Board), which is running on top of mod_python / Apache: What seems to happen is that authenticated user sessions are leaking and get re-used for new browser sessions that have never

RE: settings.DEBUG=False in django 1.2.1 and no mail connection

2010-11-27 Thread Sells, Fred
Please ignore previous, it was working but getting lost in my spam filter. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: remember me in login

2010-11-27 Thread andy
you might also want to take a look at this "Remember me for login" snippet from django snippets http://djangosnippets.org/snippets/1881/ On Nov 27, 6:00 am, robos85 wrote: > request.session.set_expiry() it's ideal for me:) > > On 27 Lis, 02:01, Addy Yeow

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-27 Thread marty3d
The XView middleware was the culprit. After removing that, the issues completely disappeared. For some reason it was added as default (this could have been in 1.1, I don't know), and I never used it, so it was no loss at all :) Thank you! /Martin On Nov 26, 10:59 am, Łukasz Rekucki

Re: Potential bug in [Typed]ChoiceField validation mechanism

2010-11-27 Thread ethereon
Forgot to add : The problem can be avoided if both set of values are first normalized, as : >>> Decimal('0.50').normalize() Decimal('0.5') Perhaps this should be internally taken care of, instead of relying on the user to normalize it? On Nov 27, 1:04 pm, ethereon wrote: >

Potential bug in [Typed]ChoiceField validation mechanism

2010-11-27 Thread ethereon
In brief, a [Typed]ChoiceField can reject a valid choice of type Decimal because it is incorrectly compared using smart_unicode. Decimal('0.5')==Decimal('0.50') is true, while '0.5'=='0.50' is false. Verbosely, consider a model defined like so : class Foo(models.Model): BAR_CHOICES

Re: remember me in login

2010-11-27 Thread robos85
request.session.set_expiry() it's ideal for me:) On 27 Lis, 02:01, Addy Yeow wrote: > i use thishttp://djangosnippets.org/snippets/1881/ > > > > > > > > On Sat, Nov 27, 2010 at 8:07 AM, robos85 wrote: > > Is there any easy way to do remember me trigger

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-27 Thread Sam Lai
I don't know much about converting WSDL to SOAP/REST in Django. Probably easier with SOAP as WSDL and SOAP are often used together. You need to check if the first character is actually the BOM. Open the file in a hex editor and see what the first byte is. It might not be. A quick Google tells me

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-27 Thread sami nathan
After opening and closing also showing me the same result i cant say not to output the BOM to generator b coz its an another person who generated and gave to me and asking me to create web service using just wsdl file and given me open choice of use rather SOAP or REST i also decided to use REST