Folks,
I'm using django 1.9. I'm having the following problem. When I update the
object of Pessoa, described below, I receive the following error message: "i/o
operation on closed file". Does anyone have any solution. Thanks.
Erick
models.py
class Pessoa(models.Model):
...
)
>>
>> by
>>
>> TIPO_CONJUGE = (
>> ('CA', _('Casados')),
>> ('UE', _('Uniao estavel')),
>> ('OU', _('Outros')),
>> )
>>
>> I'll see how to solve this issue. Any clues?
>>
>>
>> 2014-05-31 0:11
Hello,
I have the following situation.
If I don't refernce a ModelForm in my UpdateView class, the update process
works correctly. When I reference the ModelForm in order to customize the
fields, the form do not works correctly (do not redirect to the address
specified).
forms.py
class
to solve this issue. Any clues?
2014-05-31 0:11 GMT-03:00 Erick Brockes <ebroc...@gmail.com>:
> Kevin, Thank you.
>
> If you don't mind, I'm kind of new in django.
>
> I've got the following response in the browser:
>
> {'tipo_conjuge': 0xb4dcb7ec>}
>
> Cou
Kevin, Thank you.
If you don't mind, I'm kind of new in django.
I've got the following response in the browser:
{'tipo_conjuge': }
Could you help me out on how to proceed?
2014-05-30 18:45 GMT-03:00 Kelvin Wong :
> In relacaoconjugetipouniao_form.html
>
> Add this
I have the following problem. The field "tipo_conjuge" is not showing as I
wanted. Could somebody tell me what is the problem?
Best regards,
Erick
url. py
...
url(r'relacao/(?P\d+)/$',
login_required(CreateTipoRelacaoView.as_view()),
name='cadastrarRelacaoTipo'),
...
views.py
...
class
6 matches
Mail list logo