On Mon, Sep 22, 2008 at 8:57 AM, diN0bot <[EMAIL PROTECTED]> wrote:
>
> Seems like Joseph's problem is typical for User/Profile work.
>
> Initially I used the same inheritance model as he does. Working with a
> single form in the view and template is a win for code re-use and
> simplicity.
>
> I l
Seems like Joseph's problem is typical for User/Profile work.
Initially I used the same inheritance model as he does. Working with a
single form in the view and template is a win for code re-use and
simplicity.
I looked into formsets but haven't gotten it to work with multiple
model types. It se
On Wed, Sep 10, 2008 at 6:59 AM, Michel Thadeu Sabchuk
<[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> What is the best way to work with 2 models on the same forms? Suppose
> I have the following case:
>
> class Profile(models.Models):
>user = models.ForeignKey(User)
>some_data = models.CharFi
Hi guys,
What is the best way to work with 2 models on the same forms? Suppose
I have the following case:
class Profile(models.Models):
user = models.ForeignKey(User)
some_data = models.CharField()
How can I add a profile and a user on the same form using ModelForm? I
used to do:
class
4 matches
Mail list logo