2005/12/30, Adrian Holovaty <holovaty(at)gmail.com>:
>
> On 12/30/05, aaloy <antoni.aloy(at)gmail.com> wrote:
> > The new table appears on the admin interface, and I have introduced
> > data manually on it I can see it, but when I try to modify o add a new
> > record I get the exception:
> >
> > Exception Type:         ContentTypeDoesNotExist
> > Exception Value:        ContentType does not exist for
> > {'package__label__exact': <aplication name>
> > 'python_module_name__exact': <table name>}
>
> Hi Antoni,
>
> When you copy the CREATE TABLE statements for your new models, make
> sure to copy the "INSERT INTO content_types" and "INSERT INTO
> auth_permissions" lines for your new models.
>
OK. That should be the problem!
It would be nice to have an option to generate these inserts also..

I'm writing a tutorial for our LUG, it's in Catalan and you can see it at
http://bulma.net/body.phtml?nIdNoticia=2266
I'll write this advertisement on the second part of the tutorial. In
fact I'm writting what I'm learning :)

On the other hand, I like to translate to Catalan the Django messages
I have yet started but I don't know  how to send the translations to
the main branch.

The same could apply for a new DataTipye (Currency) It's a FloatField
but with max_digits=12 and decimal_places=2. It's a nice to have type
as it cleary documents the code.

Best regards,

--
Antoni Aloy López
Binissalem - Mallorca
Soci de Bulma

Reply via email to