Re: changeset 3960 broke something with DateTimeField's

2006-11-05 Thread Russell Keith-Magee
On 11/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > Hi, > > When I try and create a Contact and save it I get the following error. > This worked fine up until r3960 was checked in a few days ago. Hi Matthew, Looks like the new Date validation code I put in to get around some SQLite probl

changeset 3960 broke something with DateTimeField's

2006-11-05 Thread Matthew Flanagan
Hi, I'm using postgres DB with the following model: class Contact(models.Model): """ Contact details for a person, role, organization or org unit. """ name = models.CharField(maxlength=128, db_index=True) organisation = models.CharField(maxlength=128, blank=True) departme

Re: Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread orestis
I wonder why does a cursor has to be involved for the debug page to be shown... I'll look into it. For the record, I managed to track down by trying to save my model from the interactive shell. It had to do with the postgres sequences not being adjusted after a manual insertion of objects with pr

Re: [Ticket Rejected] Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread Ivan Sagalaev
orestis wrote: > ProgrammingError: ERROR: current transaction is aborted, commands > ignored until end of transaction block > > SET TIME ZONE 'Europe/Athens' > }}} > > I have tried issuing the statement SET TIME ZONE 'Europe/Athens' using > psql and it runs fine. So, it seems that the problem i

[Ticket Rejected] Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread orestis
I got this ticket rejected from Akismet: This is not related to #852, as the errors are thrown when running the application normally, not the shell. The errors I get are: {{{ File "/usr/lib/python2.4/site-packages/django/db/models/base.py", line 166, in save cursor = connection.cursor()

ImageField not deleting old files when updated

2006-11-05 Thread Jeremy
When updating the contents of an ImageField, the the old image file associated with the field isn't deleted. Is this a known issue? I've worked around this in my project by modify the django code for the ImageField class's save_file method in the following manner: def save_file(self, new_data,

Django Theme for Apple Keynote

2006-11-05 Thread Mike Cantelon
For anyone giving presentations about Django who wants their presentation "Django-branded", feel free to use an Apple Keynote template I created for the purpose (based on the Django wallpaper and some other Django-ized presentations I've seen): http://mikecantelon.com/?q=node/12 Cheers, Mike Ca

Re: off-topic: filebrowser svn setup

2006-11-05 Thread patrickk
thanks. Am 05.11.2006 um 20:34 schrieb Guillermo Fernandez Castellanos: > > As I've seen in other projects, people tend to put their template and > media folders in the same directory as their application. Then people > can symlink those directories to wherever they want. > > So, like this: > fi

Re: order_by does not support joins

2006-11-05 Thread serbaut
> Judging from the comments on that ticket, I think it's a slightly > different issue; #2210 deals with fetching the Options class of the > wrong model when the related field has 'db_column' set; in that case, > it appears Django is generating the correct table list for the query, > but not the co

Re: off-topic: filebrowser svn setup

2006-11-05 Thread Guillermo Fernandez Castellanos
As I've seen in other projects, people tend to put their template and media folders in the same directory as their application. Then people can symlink those directories to wherever they want. So, like this: filebrowser/trunk/ filebrowser/trunk/filebrowser filebrowser/trunk/filebrowser/models.py

off-topic: filebrowser svn setup

2006-11-05 Thread patrickk
I finally made it to setup trac/svn for our filebrowser (http:// www.vonautomatisch.at/django/filebrowser/) my question is: where should I put the media- and template-stuff? if I use a subdirectory for media/templates, one has to copy this directory after a svn checkout. I´m not sure if there´

Re: Re: order_by does not support joins

2006-11-05 Thread James Bennett
On 11/5/06, serbaut <[EMAIL PROTECTED]> wrote: > I submitted a patch for this a while back: > http://code.djangoproject.com/attachment/ticket/2210/order_by_related.diff Judging from the comments on that ticket, I think it's a slightly different issue; #2210 deals with fetching the Options class o

Re: order_by does not support joins

2006-11-05 Thread serbaut
I submitted a patch for this a while back: http://code.djangoproject.com/attachment/ticket/2210/order_by_related.diff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this grou

Re: Should we have another 'post_save' signal?

2006-11-05 Thread Tom Insam
On Oct 31, 2006, at 23:13, medhat wrote: > > I was trying to create a thumbnail from an ImageField when the object > is saved. I tried different things but none of them worked the way I > wanted. Then I thought of using the post_save signal to do it only to > discover that this signal is sent af

Re: Dev policy, was Re: Ticket spam

2006-11-05 Thread Ivan Sagalaev
Michael Radziej wrote: > I like Django, perhaps I rather contribute > more tiny stuff of which I feel that it will get integrated, and I have > my own patchset for Django. So what? It works fine for me. Why should I > turn to a different framework when I like the concept and code (and the > docs!)

Re: Dev policy, was Re: Ticket spam

2006-11-05 Thread Michael Radziej
Hi, let me add my own view, and this is not a direct answer to Ian but more to the whole thread. I personally got frustrated about the way tickets are handled. And sure, Adrian is currently a very scarce and important resource. There's written enough about that and I don't want to deepen it agai