Please help, strange errors crashing my site

2007-04-23 Thread peonleon
Hi, I have a django site that just launched using mod_python, apache2, and redhat. It's a medium sized site, everything worked great for a couple days, yesterday I suddenly got error after error in my apache logs such as the ones below. This happens even though there are no code changes. The site

Re: Send mail with gmail smtp

2007-04-02 Thread peonleon
Aha, I applied the patch (#2897), and it works like a charrm! Thanks everybody! Leon On Apr 2, 5:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-04-02 at 12:19 +, [EMAIL PROTECTED] wrote: > > Hi, > > > Has anyone successfully used gmail's smtp to send mail? I've been > >

Send mail with gmail smtp

2007-04-02 Thread peonleon
Hi, Has anyone successfully used gmail's smtp to send mail? I've been trying, but so far no luck. I've added this to my settings.py: EMAIL_TLS = True EMAIL_HOST = smtp.gmail.com EMAIL_HOST_PASSWORD = mypassword EMAIL_HOST_USER = myusername EMAIL_PORT = 465 Is something incorrect/missing, or is

Smart quotes filter

2006-12-27 Thread peonleon
Hi, Has anybody written a template filter to automatically convert inch marks (") to the correct smart quotes, and (') to apostrophes? How do you think is the best way for me to accomplish this? Thanks and happy holidays, Leon --~--~-~--~~~---~--~~ You received

Re: Completed Django Project

2006-10-26 Thread peonleon
hey thanks for the comments, and thanks for the good suggestions, now back to work... --~--~-~--~~~---~--~~ 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@googlegro

Completed Django Project

2006-10-26 Thread peonleon
Hi django friends, I just finished my first django project, http://asme.seas.ucla.edu . A little background: over summer, I started studying python, and after finishing a couple books I got seduced by django and at the same time was asked to make/design a website (im studying design), I figured i

Allowing users to partially update model

2006-09-15 Thread peonleon
Hi, I'm using the generic view, create_update.update_object, to allow users of the site to update their profiles through a basic page with a form. Everything works as long as I include all the model's fields in the template. For instance, lets say my profile model has 2 fields, I would have to in

Re: {{user}} & Inclusion Tags

2006-09-10 Thread peonleon
Thanks Rob, it works! this is what my tag ended up looking like which works: @register.inclusion_tag('sidebar/you.html') def module_you(user): return {'user': user,} --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

{{user}} & Inclusion Tags

2006-09-10 Thread peonleon
Hi, I think I might be missing something very simple, but I can't figure it out: {{user}} works fine in my templates unless the template was rendered by an inclusion tag. For example, # inclusion tag: @register.inclusion_tag('sidebar/you.html') def module_you(): return # template 'sidebar/

Adding to Models without breaking

2006-08-15 Thread peonleon
Hi, I'm a complete beginner with a workflow question, here it goes: I've been making various small apps, there have been times when I decided to add or edit parts of my models after deployment which leads to various errors when trying to edit or view the previous entries in the admin page. This l