Re: Error when subclassing models.ForeignKey field

2011-01-28 Thread roman
On 26 Jan., 18:33, Roman Klesel wrote: > Should I open a bug report? That's what I just did: http://code.djangoproject.com/ticket/15184 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Error when subclassing models.ForeignKey field

2011-01-26 Thread Roman Klesel
Hello again, since no one responded untill now, I'd like to bring this back to attention. If no one knows an answer to my question, maybe some one could give me some hint what I could do? Should I open a bug report? Thanks in advance! Roman -- You received this message because you are

Error when subclassing models.ForeignKey field

2011-01-25 Thread Roman Klesel
Hello, I'm using a current SVN checkout of django an I'm having difficulties creating a custom field. class ForeignKeyAX(models.ForeignKey): __metaclass__ = models.SubfieldBase description = "ForeignKey field prepared for Ajax Autocompletion" def __init__(self,*args,**kwargs):

Re: subclassing a Field

2007-01-31 Thread [EMAIL PROTECTED]
You cannot add custom database field types without altering the db backend code. On 31 Jan, 09:58, Antonio <[EMAIL PROTECTED]> wrote: > hi all, > > I've created a TYPE in PostgreSQL : > > Composite type "utente.datirim" > Column| Type > -+ > nome

subclassing a Field

2007-01-31 Thread Antonio
hi all, I've created a TYPE in PostgreSQL : Composite type "utente.datirim" Column| Type -+ nome| text turno | time without time zone comandante | text disormeggio | time without time zone arrivo | time without time zone fine