Re: FeinCMS 1.3.0 final has been released!

2011-04-11 Thread Shige Abe
Congratulations! I can't wait for what's to come! On Sun, Apr 10, 2011 at 11:44 PM, Matthias Kestenholz wrote: > Hello everyone > > FeinCMS 1.3.0 has just been released and is available at the usual places. > > > > What is FeinCMS anyway? > === > > > FeinCMS is one of the mo

run function on session.flush()

2009-01-22 Thread Abe
I would like to run a function (in my case, send an email summarizing recent activity) when a user logs out *or* when their session expires. Is there an easy way to do it without making a new version of the Session class? --~--~-~--~~~---~--~~ You received this me

Re: mod_python setup on Apache virtual host

2008-12-01 Thread Abe
I just witnessed the same behavior but haven't found the solution. I'm using Ubuntu 8.04, Django 1.0, and Apache 2.2 with mod_python. Abe On Nov 15, 10:16 pm, Chuck22 <[EMAIL PROTECTED]> wrote: > I did not use ErrorDocument directives in my httpd.config. > > He

Re: Nice representation for Querying with ForeignKeys

2008-08-28 Thread Abe
If B has __unicode__ defined and the output is printed somehow, then it should display the output of __unicode__ whenever this happens. If this isn't being used in a string somehow, then just run a loop over the query set. --~--~-~--~~~---~--~~ You received this m

Re: list_filter in newforms-admin doesn't worj

2007-06-26 Thread abe
ok, I'll do that. thanks -E On Jun 26, 5:13 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-25 at 16:10 +, abe wrote: > > > I'm using the newforms-admin branch, and have specified > > some admin options for a Experiment model like this &

list_filter in newforms-admin doesn't worj

2007-06-25 Thread abe
I'm using the newforms-admin branch, and have specified some admin options for a Experiment model like this class ExperimentalDataOptions(admin.ModelAdmin): list_display = ('project_name','experiment_nr','experiment_date','short_title') search_fields = ('experiment_nr','project_name','e

Re: __search works in mysterious ways.

2007-03-19 Thread abe
s (it > also ignores "stop words"). > > These are configurable in MySQL via the 'ft_min_word_len' and > 'ft_stopword_file' options. hmm, I see, thanks. setting 'ft_min_word_len=2 solved it. still pretty annoying. could django take care of changing t

Re: __search works in mysterious ways.

2007-03-19 Thread abe
On Mar 19, 11:15 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-03-19 at 14:09 +, abe wrote: > > I'm getting unexpected (missing) results from the __search field > > lookup > > it looks like it can only finds whole words, but only if they&#x

__search works in mysterious ways.

2007-03-19 Thread abe
6]: c.save() In [67]: Choice.objects.filter(choice__search='abc123') Out[67]: [ABC123 cde456] In [68]: c.choice='ABC\ncde' In [69]: c.save() In [70]: Choice.objects.filter(choice__search='abc') Out[70]: [] abe --~--~-~--~~~---~--~~ You received thi

Re: error in SQL syntax for allow_empty=True in list_detail.py

2007-02-21 Thread abe
thanks, that patch solved it. -abe On Feb 21, 4:52 pm, Michael Radziej <[EMAIL PROTECTED]> wrote: > abe: > > > > > I'm trying to call object_list in > > > django/views/generic/list_detail.py > > > with allow_empty=True > > > but if I use

error in SQL syntax for allow_empty=True in list_detail.py

2007-02-21 Thread abe
ct. I'm not sure if this is a bug or that I'm doing something wrong any help is appreciated -abe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: how to make a list of allowable arguments for filter()

2007-02-10 Thread abe
On Feb 10, 8:12 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-02-09 at 23:22 -0800, abe wrote: > > > > I really tried hard to understand your problem, but then my brain > > > started to leak out of my ears and I had to stop. :-( [...] > &

Re: how to make a list of allowable arguments for filter()

2007-02-09 Thread abe
`f` which seems a bit clumsy) and then of course I would like to find the 2nd (or higher) order cases too 'model1__model2__field_of_model2' any simple ways to find those? thanks for your help. abe --~--~-~--~~~---~--~~ You received this message

Re: how to make a list of allowable arguments for filter()

2007-02-09 Thread abe
his works if model Relmodl2 has model2 as ForeignKey but not the other way round. is there an eay way to find those model and field names? for example relmodl2.objects.filter({'model1__nr__gt':5}) where I'm looking for the other allowed strings like &#

how to make a list of allowable arguments for filter()

2007-02-09 Thread abe
I can find the models which have a certain model as a ForeignKey like this relfieldargs = ['%s__%s' % (m.model._meta.module_name,f.name) for m in models.get_model('zb','compound')._meta.get_all_related_objects() for f in m.model._meta.fields] --~--~-~--~~~---~--~---

using curly brace in template

2007-01-13 Thread abe
I wanted to use a {{forlppo.counter}} just behind a curly brace in a djang template {{{forloop.counter}}.0} but I get an error TemplateSyntaxError Exception Value:Could not parse the remainder: {forloop.counter can I somehow escape the curlybrace? -abe

Re: psycopg installation error: C compiler cannot create executables

2007-01-03 Thread Abe
Sorry, ignore the "bold --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL

psycopg installation error: C compiler cannot create executables

2007-01-03 Thread Abe
Hey all. Im trying to get django up and running on my Mac (powerbook, powerpc chip, 10.4 OSX). I got postgresql v 8.2.0 up and going, along with Python 2.4. I go to install psycopg to get the two communicating with one another, and, following the directions on the SetupOnTiger (http://code.djan

Re: manage.py syncdb error

2006-08-08 Thread abe
Kenneth Gonsalves wrote: > On 08-Aug-06, at 7:37 PM, abe wrote: > > > > > I'm sometimes creating extra models, sometimes deleting an old model, > > and then run syncdb to update the database. > > if you are deleting old model, syncdb wont do it for you >

Re: manage.py syncdb error

2006-08-08 Thread abe
Seth Buntin wrote: > Are you trying to insert initial data into you db when running this > script? not sure exactly what yuo mean by initial data. I'm sometimes creating extra models, sometimes deleting an old model, and then run syncdb to update the database. Eiso --~--~-~--~~--

manage.py syncdb error

2006-08-08 Thread abe
if I apply syncdb for one of my apps ./manage.py syncdb xxapp I get the traceback below that ends with [...] _mysql_exceptions.IntegrityError: (1062, "Duplicate entry '17-add_status' for key 2") I can't find an obvious error in the database. does anyone know w

FileField problems. uplaoded files overwritten

2006-06-26 Thread abe
Save and continue editing' again, my first file gets replaced by the second, so I see. Attachment #1 Document: Currently: protocols/file2.pdb Change: Attachment #2 Document: and file1 is even gone from the opload dir. what am I doing wrong??? -abe from django.db import models i

Re: admin apache solved? / now mysql problem

2006-03-29 Thread abe
Andy Dustman wrote: > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > Andy Dustman wrote: > > > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > > Andy Dustman wrote: > > > > > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > >

Re: admin apache solved? / now mysql problem

2006-03-29 Thread abe
Todd O'Bryan wrote: > On Mar 28, 2006, at 8:20 AM, Andy Dustman wrote: > > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > >> OperationalError: (2002, "Can't connect to local MySQL server through > >> socket '/var/lib/mysql/mysql.

Re: admin apache solved? / now mysql problem

2006-03-28 Thread abe
Andy Dustman wrote: > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > > > > Andy Dustman wrote: > > > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > > > > > OperationalError: (2002, "Can't connect to local MySQL server t

Re: admin apache solved? / now mysql problem

2006-03-28 Thread abe
Andy Dustman wrote: > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > OperationalError: (2002, "Can't connect to local MySQL server through > > socket '/var/lib/mysql/mysql.sock' (13)") > > This indicates your MySQL server isn't runn

Re: admin apache solved? / now mysql problem

2006-03-28 Thread abe
Adrian Holovaty wrote: > On 3/24/06, abe <[EMAIL PROTECTED]> wrote: > > I get a blank screen (in the browser) and the > > httpd error logs say : > > > > [Fri Mar 24 18:36:09 2006] [notice] mod_python: (Re)importing module > > 'django.core.handl

admin apache

2006-03-24 Thread abe
hi, trying to use the admin site vi apache/mod_python/mysql I get a blank screen (in the browser) and the httpd error logs say : [Fri Mar 24 18:36:09 2006] [notice] mod_python: (Re)importing module 'django.core.handlers.modpython' [Fri Mar 24 18:36:17 2006] [notice] child pid 13817 exit signal

django/mod_python/apache import problem

2006-03-22 Thread abe
hi, I'm having trouble getting django to work together with apache an mod_python if I try to access the admin page through my browser it displas the following message Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python

Re: table needs all fields filled in?

2006-03-09 Thread abe
thanks, that seems to work. having trouble understanding what this core=True is actually meaning. -E --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django

table needs all fields filled in?

2006-03-09 Thread abe
hi, I use the class below to define molecule properties: In the admin interface I get a nice mol_properties table to fill, but the values are only accepted if I enter values for all columns of the table. Is this correct behaviour? What can I do to make it accept a partially filled in table? cl

File(Path)Field to select a directory?

2006-02-08 Thread abe
h dir they are. FileField doesn't allow to select directories. is this possible ? maybe with URLfield? -abe

Re: mod_python error (help please)

2005-10-08 Thread Abe
Maniac, Thanks for your quick response and the reference. I looked into the symlinking going on... I'm not entirely sure what the root cause was, but I deleted the symlink, copied the files to the ...site-packages directory and viola! everything is cool. Cheers, Abe

mod_python error (help please)

2005-10-07 Thread Abe
django --snip-- Any ideas? Cheers, Abe