Thanks a lot to both of you!
As u are so nice i have another question about it :)
class Resource_systeminfo(models.Model):
...
owner = models.ForeignKey(User)
You see, i have a foreign key to a user object. But in my view, when i
try to do
ResSysForm = form_for_model(
Hi Giuseppe,
On 2/17/07, Giuseppe Franchi <[EMAIL PROTECTED]> wrote:
>
> Hello everyone!
> I've approached Django and Python from a few time and i love them
> both.
> As i am newbie i have a noobish question. My problem is: i have to
> store a Resource object splitted in two tables as following:
>
I think you need some relations.
You can have a look at http://www.djangoproject.com/documentation/models/
and choose the best model for your problem
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
Hello everyone!
I've approached Django and Python from a few time and i love them
both.
As i am newbie i have a noobish question. My problem is: i have to
store a Resource object splitted in two tables as following:
class Resource(models.Model):
title = models.CharField(maxlength=100)
4 matches
Mail list logo