blank=True, null=True dont work with UserProfile

2011-04-30 Thread Daniel Corbe
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

Post Save

2011-08-01 Thread Daniel Corbe
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

Re: Post Save

2011-08-01 Thread Daniel Corbe
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

Reference Form

2011-01-10 Thread Daniel Corbe
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.

Re: Reference Form

2011-01-10 Thread Daniel Corbe
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: >

Styleled Form in login generic views

2011-01-29 Thread Daniel Corbe
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

Persistent Connection

2011-03-30 Thread Daniel Corbe
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