Re: django problem at dreamhost

2006-02-19 Thread Eugene Lazutkin
Amit Upadhyay wrote: > > How do you get a new machine? Will I have to create a new account? 1) I think it is the right time to contact DreamHost's support: https://panel.dreamhost.com/index.cgi?tree=support.msg, and let them know about your problems. 2) W.r.t. RoR's #5. If you use flup or

Re: django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
On 2/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have had this exact same experience.  I do not know what causes it tohappen or what makes it fix itself.  I thought the problem was relatedto the new svn feature.  Have you started using that? I do not use the new svn feature, but I have

Re: Email injection ... What's wrong ?

2006-02-19 Thread Kenneth Gonsalves
On Monday 20 Feb 2006 6:57 am, EricHsu wrote: > In my opinion, you may do some filtering job to the > request.POST['message'] to identify spams and drop them before > sending it to you mailbox. add a captcha -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in

Re: Email injection ... What's wrong ?

2006-02-19 Thread EricHsu
I notice a problem with the django's header injection prevention code. It checks only if there's new line (\r or \n) in the header, I guess it should be improved, since when we want to send a utf-8 header, it reaches its limitation - from python's email package email.Header.Header.encode()

manipulator validation across fields

2006-02-19 Thread gizo
I have a form with 3 separate fields. I need the user to input data into one of the fields. No more than one, and no less than one. Is there an easy way to tell my manipulator to check this? Something like : one_of_these_is_required_list=['field1','field2','field3'] does that kind of

Re: Email injection ... What's wrong ?

2006-02-19 Thread EricHsu
Batiste wrote: > Hello, I have some spam incoming in my mailbox... The send_mail > function has to be protected ... What's wrong with my code ? > > def sendMail(request): > from django.core.mail import send_mail > if(request.POST.has_key('email')): > email = request.POST['email']

Re: django problem at dreamhost

2006-02-19 Thread [EMAIL PROTECTED]
I have had this exact same experience. I do not know what causes it to happen or what makes it fix itself. I thought the problem was related to the new svn feature. Have you started using that? I have a few domains hosted at dreamhost (on different machines). One machine has had problems

Re: django problem at dreamhost

2006-02-19 Thread Jeremy Jones
On Mon, 20 Feb 2006 02:37:20 +0530 "Amit Upadhyay" <[EMAIL PROTECTED]> wrote: > Hi, > > I am facing a weird issue with dream host, day before yesterday my > django application stopped serving requests, I have not done > anything, and its been working since about a month, and now it waits > for

Re: django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
On 2/20/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: Nope, never seen it. I suggest to verify .htaccess file and test fcgiwithout Django trying to reproduce the problem. If you didn't modifyDjango (like svn-up it), you may have some problems with disk space(unlikely) or database (unlikely too),

Re: django problem at dreamhost

2006-02-19 Thread Nathan Clayton
On Feb 19, 2006, at 1:07 PM, Amit Upadhyay wrote:Hi,I am facing a weird issue with dream host, day before yesterday my django application stopped serving requests, I have not done anything, and its been working since about a month, and now it waits for minutes before give me 500 interneral server

Re: django problem at dreamhost

2006-02-19 Thread Eugene Lazutkin
Amit Upadhyay wrote: > > I am facing a weird issue with dream host, day before yesterday my > django application stopped serving requests, I have not done anything, > and its been working since about a month, and now it waits for minutes > before give me 500 interneral server error. Also I

django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
Hi,I am facing a weird issue with dream host, day before yesterday my django application stopped serving requests, I have not done anything, and its been working since about a month, and now it waits for minutes before give me 500 interneral server error. Also I get lots of core files in my domain

Re: Update Trac?

2006-02-19 Thread Christopher Lenz
Am 19.02.2006 um 07:31 schrieb Greg: > Would it make sense to upgrade the version of Trac that > http://code.djangoproject.com is running? Very much sense, considering that the Trac version deployed on djangoproject.com contains a number of security issues that have since been fixed. If any

Subclassing models

2006-02-19 Thread [EMAIL PROTECTED]
Hello: I am trying to extend the admin interface to display custom objects. Specifically, I would like use the list view (from the change_list function) to show the results of custom queries. The two options that I have come up with is to: * subclass the ChangeList object and support other

extending django user class

2006-02-19 Thread fej reblok
I am trying to extend the django base user class using the instructions here:http://code.djangoproject.com/wiki/ExtendedUserModelI have built my model, gotten the sql and installed with python manage.py install authall looks good.but I am new to both django and python and am stuck on this

Re: Simple weblog, generic views and templates -- error

2006-02-19 Thread Max Battcher
Sime Ramov wrote: > Hello, > > I'm writing simple weblog and have some problems. I have the > following error when I visit http://127.0.0.1:8000/weblog/ > Page not found (404) > > Request Method: > GET > Request URL: > http://127.0.0.1:8000/weblog/ > No blog.entries available > > I just

Simple weblog, generic views and templates -- error

2006-02-19 Thread Sime Ramov
Hello, I'm writing simple weblog and have some problems. I have the following error when I visit http://127.0.0.1:8000/weblog/ Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/weblog/ No blog.entries available I just don't get it, here are the relevant snippets of

Re: socialistsoftware.com source is now available

2006-02-19 Thread [EMAIL PROTECTED]
Works fine for me [EMAIL PROTECTED]:~/Desktop/temp $ svn co http://source.socialistsoftware.com/sssource sssource Asssource/blog Asssource/blog/manage.py Asssource/blog/media Asssource/blog/media/images The svn is using Dreamhosts new svn setup, which has been a bit flakey.

Re: socialistsoftware.com source is now available

2006-02-19 Thread Grigory Fateyev
Hello [EMAIL PROTECTED] On Sat, 18 Feb 2006 22:46:08 - you wrote: > > A few people had asked for the source to my django powered blog. So > here it is ... http://source.socialistsoftware.com/sssource/ svn co http://source.socialistsoftware.com/sssource/blog/ socialistsoftware svn:

Re: Validator, Form testing needed, cant validate image.

2006-02-19 Thread coulix
After a search ... i found this def save(self,data): Object=objects.get_object(pk=self.id) for field in self.fields: if field.field_name+'_id' in Object.__dict__: actual_field_name=field.field_name+'_id' else: actual_field_name=field.field_name

Re: Validator, Form testing needed, cant validate image.

2006-02-19 Thread coulix
ok some news thanks to #django my model didnt specifie that the image field was needed but the manipulator did. so i updated the line to : formfields.ImageUploadField(field_name="image_file"), now when all recquired fields are present i got an error from django Exception Type:

Re: Newspapers

2006-02-19 Thread Arthur
Ellington looks pretty interesting. From my point of view, a lot of folks are sort of following along in the backwash of LJWorld. And of course that was the basic point of my original inquiry. Doesn't seem like Ellington has been widely used elsewhere, though. Wonder how many people here have had

Validator, Form testing needed, cant validate image.

2006-02-19 Thread coulix
Hi, i wrote a form using my cutom Manipulator, all the check behave properly execpt the formfields.ImageUploadField(field_name="image_file", is_required=True, validator_list=[self.isValideImageWeight] ), it always raise [this field is recquired] . address to test the form :