> When I try to edit with the admin interfaces django raises an error:
>
> Exception Type: OperationalError
> Exception Value: no such column: film_film.proposto_da_id
Explanation: I added field "proposto_da" after creating the db so I
added it
by hand but I didn't realize that django
> I tried to insert, as you have said to me, but have received this error:
> line 124, in get_all_related_objects
> if f.rel and self == f.rel.to._meta:
> AttributeError: 'str' object has no attribute '_meta'
I guess you have quotes around the name of the class, so that the
Referenced
class
Michael Radziej wrote:
>Vittorino Parenti schrieb:
>
>
>>Hi,
>>i found this in django documentation:
>>
>>"Note, however, that you can only use strings to refer to models in the
>>same models.py file -- you cannot use a string to reference a model in a
>>different application, or to reference
Vittorino Parenti schrieb:
> Hi,
> i found this in django documentation:
>
> "Note, however, that you can only use strings to refer to models in the
> same models.py file -- you cannot use a string to reference a model in a
> different application, or to reference a model that has been imported
Hi,
i found this in django documentation:
"Note, however, that you can only use strings to refer to models in the
same models.py file -- you cannot use a string to reference a model in a
different application, or to reference a model that has been imported
from elsewhere."
i have different mo
5 matches
Mail list logo