Re: Google App Engine supports Django 1.2!

2011-02-12 Thread Sarang
Thats nice! Does this version of Django support the datastore too? The current Django I am using w/ GAE is 1.3.0 Alpha 1 and I am wondering if switching to the latest GAE SDK would be an issue. Regards, Sarang -- You received this message because you are subscribed to the Google Groups

Re: maintenance mode UI

2011-02-12 Thread vamsy krishna
Thanks Cal. I'm now using inline styling. On Feb 12, 11:57 am, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hi, > > Maintenance mode pages should be completely self contained. You could even > go to the extent of storing the images in base64 within the HTML

Django + GWT

2011-02-12 Thread Roman
Is there a relatively painless way to integrate Django server side and GWT front-end? I'm new to Django (one simple project a year ago) and I've some experience with GWT. Anyone done it before and has a few tips where to start? -- You received this message because you are subscribed to the

Re: Looking for IDE + FTP

2011-02-12 Thread Dylan McCurry
I personally use Coda and love it. Built in ftp, terminal, css editor, and code editor. On Feb 8, 3:30 pm, Karen McNeil wrote: > I have three Django sites that I've been working on recently and I've > been doing most of the development work in Dreamweaver.  I don't use >

Re: How to access a form attribute? (For HTML sanitization)

2011-02-12 Thread Shawn Milochik
You're welcome. What are you trying to do? Django cleans the user input to prevent SQL-injection attacks, and it also cleans it by default if you display it in a template. Why do you need this separate sanitization? Shawn -- You received this message because you are subscribed to the Google

Re: Code Review As a Service

2011-02-12 Thread Venkatraman S
I would be interested in offering such a service. Anyone game interested? :) On Tue, Jan 25, 2011 at 8:18 PM, Ronghui Yu wrote: > Wonderful idea > Are you going to open business like that? > > > On Tue, Jan 25, 2011 at 10:18 PM, Derek wrote: > >> Yes, I

Re: necessary of python

2011-02-12 Thread stevenelliott . py
It is definitely possible to learn python and django together, in fact its a great way to get started. I would recommend though, spending some time really digging into python, the more you know the better you will be able to handle things that framework can't handle. Sent from my Verizon

Re: How to access a form attribute? (For HTML sanitization)

2011-02-12 Thread Riku
Thank you, that worked. I didn't realize I just had to access it like that. I changed form.explanation = sanitizeHtml(form.explanation) to form.cleaned_data['explanation'] = sanitizeHtml(form.cleaned_data['explanation']) I don't know if that's the best way to do it but seems to work. On Feb

Re: django.core.cache._cache error in returning dict

2011-02-12 Thread Raoul
Hi Tom, thanks for your remarks, this was the explication I was lookiing for to not submit a bug report. I'm aware that I use private lookups, as in the public API I don't see a dump all. With my current implementation I'm able to run what I need. Cheers, Raoul -- You received this message

Re: necessary of python

2011-02-12 Thread Matthias Kestenholz
On Sat, Feb 12, 2011 at 5:20 PM, pra wrote: > I just want to ask that whether learning python is necessary to > develop applications in django. > As I am totally novice user of it . Please be fast it's too urgent > Yes, it is necessary. Many people learn Python at the same

Re: necessary of python

2011-02-12 Thread Karen Tracey
On Sat, Feb 12, 2011 at 11:20 AM, pra wrote: > I just want to ask that whether learning python is necessary to > develop applications in django. > Yes. Developing applications in Django means writing Python. You can learn the two together (I did), but learning Python is going

necessary of python

2011-02-12 Thread pra
I just want to ask that whether learning python is necessary to develop applications in django. As I am totally novice user of it . Please be fast it's too urgent -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: _id cannot be null

2011-02-12 Thread webzy
Maybe your form has user_id instead of user_id_id as id? On Feb 12, 3:20 am, keeper wrote: > Hello guys, > > executing this code below from shell is ok, updates database and > inserts the proper values: > > sub_domains(user_id=user_list.objects.get(user_id=1001), >

Re: How to access a form attribute? (For HTML sanitization)

2011-02-12 Thread Shawn Milochik
What are you trying to do? If you just want access to the value passed in, try accessing form.cleaned_data['explanation']. The field objects are not directly accessible via form_name.field_name -- they're in form.fields, like form_name.fields['explanation']. Shawn -- You received this message

How to access a form attribute? (For HTML sanitization)

2011-02-12 Thread Riku
Hi, I want to sanitize the HTML my user inputs in a form. I'm getting an error that says "'QuestionForm' object has no attribute 'explanation'" Even though I think it should have. I must be doing something wrong, but I'm not very familiar with form handling. My form is defined as: class