Problem with broken link emails

2008-07-09 Thread HenrikG
Hi! I have a problem with email-reports of "Broken INTERNAL link" that doesn't seem correct. For example this one: Referrer: http://www.teamxstream.se/ Requested URL: /star_empty.gif When I access the referrer page, I get no error message myself and in the source there are only occurrences of

Re: Setting up psycopg2

2007-04-28 Thread HenrikG
Thanks for the tip Brian! I checked with pg_config --configure and found out that Postgresql was indeed built with "enable-thread- safety". (I had to install libpq-dev with apt-get to get the pg_config-command) About psycopg, on this site: http://www.initd.org/tracker/psycopg it says that

Setting up psycopg2

2007-04-27 Thread HenrikG
Hi! I want to install psycopg2 on Ubuntu Dapper 6.06.1. I'm wondering about a note in a file called INSTALL in the psycopg2-source. It says: """ Important note: if you plan to use psycopg2 in a multithreaded application make sure that your libpq has been compiled with the -- with-thread-safety

Re: form_for_model and default values

2007-02-07 Thread HenrikG
On 11 Jan, 04:07, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > 2) I have a model with aUserfield so what I do (on the view) is the > following: > > Entry.fields['autor'].widget = forms.HiddenInput() > > if request.user.is_authenticated(): > Entry.fields['autor'].initial =

Re: newforms and umlaut

2007-02-07 Thread HenrikG
On 9 Jan, 02:16, "Todd O'Bryan" <[EMAIL PROTECTED]> wrote: > On Mon, 2007-01-08 at 06:41 -0800, Hans.Rauch wrote: > > I have a class like this > > > class dms_itemForm ( forms.Form) : > > title = forms.CharField(label='berschrift') > > > If thisformis rendered, I see

Re: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named mysite"

2007-02-01 Thread HenrikG
Hi Ron! Try changing '/home/rsie/projects/mysite' to '/home/rsie/projects' and also change SetEnv DJANGO_SETTINGS_MODULE settings to SetEnv DJANGO_SETTINGS_MODULE mysite.settings regards, /Henrik --~--~-~--~~~---~--~~ You received this message because you are

Re: What user does django server runs?

2007-01-31 Thread HenrikG
Well, I solved my connection problems. It seems I had two versions of PostgreSQL installed and I had created the database with one version and was running the server with the other version. When I used the "createdb" command for both versions, one of them said that the database was corrupt. So I

Re: What user does django server runs?

2007-01-27 Thread HenrikG
On 3 Jan, 02:54, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 02-Jan-07, at 11:18 PM, Michel Thadeu Sabchuk wrote: > > > without success, the error message tells me: FATAL:Ident > > authentication failed for user "saraswati".edit pg_hba.conf - change > > authentication fromident'sameuser'

Re: newforms - FileInput

2007-01-16 Thread HenrikG
akhen wrote: Hi there I'm trying to use FileInput widget in a Form: image = forms.Field(widget=forms.FileInput) But after a post, I just can get the filename not the data. form.clean_data['image'] Any ideas ? Thanks. I think the best thing is to wait until newforms is more developed