n self.user.first_name
def user_post_save(sender, instance, signal, *args, **kwargs):
profile, new = UserProfile.objects.get_or_create(user=instance)
signals.post_save.connect(user_post_save, sender=User)
--
Daniel Corbe Hahne Latorre
dan...@corbe.com.br
55 48 9618-5115
skype: daniel_corb
code goes here
post_save.connect(gen_key, sender=Sale, dispatch_uid="my_unique_identifier")
*So next question is "How can I use parent class for post_save()?"*
--
Daniel Corbe Hahne Latorre
dan...@corbe.com.br
55 48 9618-5115
skype: daniel_corbe
--
You received thi
Thanks already solved
i use post_save for child class and works for me!
On 1 August 2011 14:55, bruno desthuilliers
wrote:
> On 1 août, 19:17, Daniel Corbe wrote:
> > Ok, halfly solved.
>
> What ?
>
> > The problem
>
> Which problem ?
>
> --
> Yo
Hi,
How to get reference of one field form from another field form when
both are in same form?
--
Daniel Corbe Hahne Latorre
dan...@corbe.com.br
55 48 9618-5115
skype: daniel_corbe
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
i will try
On 10 January 2011 17:22, Michael wrote:
> I believe a bound field contains a property pointing to it's form, so
> you'd do something like:
>
> field1.form.field2
>
> --
> Michael
>
> On Mon, 2011-01-10 at 17:03 -0200, Daniel Corbe wrote:
>
Hi,
How to get a 'class=inputStyle' on a form in generic login view?
--
Daniel Corbe Hahne Latorre
dan...@corbe.com.br
55 48 9618-5115
skype: daniel_corbe
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
connection every 5
minutes.
Or any better solution
hugs to all
--
Daniel Corbe Hahne Latorre
dan...@corbe.com.br
55 48 9618-5115
skype: daniel_corbe
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
7 matches
Mail list logo