Maybe you wan to fill this field, so last mail isn t the solution.

Can you paste the code of form? Html amb form py?

The user selects the year, or its automatically filled in view post class ?


El dl., 21 d’oct. 2019, 7:27, Gil Obradors <gil.obrad...@gmail.com> va
escriure:

> Hi!
> This field cant be null....
>
> Add null=True, blank=True
> To parameters of active_year and solved
>
> El dg., 20 d’oct. 2019, 18:58, Rain <laracasangelo...@gmail.com> va
> escriure:
>
>> Hello Guys Hopefully someone can help me on this.! any help i appreciate
>> it.
>>
>> My Problem is This.. I do my research and still cant figure out what the
>> solution for this..!
>> i do Try alot of things but still cant get this right.
>> what i want is to populate the active_year_id. automatically when
>> submitting the form..
>> Thanks in Advance...
>>
>>
>> My Model Look Like This:
>> And My Views Look Like This..
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/53f9c9b6-fdb5-4a1a-b2b0-2ef384bd82a5%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/53f9c9b6-fdb5-4a1a-b2b0-2ef384bd82a5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTRHqit9_qNzw5yjDzAQW1MFWzo%2Braryi4vsXhAY-QaZ6g%40mail.gmail.com.

Reply via email to