creating school year

2019-09-24 Thread Rain
i have a question how to create school year with start date and end date all transaction must under this year. Thanks.. -- 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

Exception Value: (1048, "Column 'active_year_id' cannot be null")

2019-10-20 Thread Rain
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

Re: set school year and change boolean to False when school year is not active

2019-10-17 Thread Rain
Thanks Sir Alot sir ima check for it! On Fri, Oct 18, 2019 at 9:55 AM Okware Aldo wrote: > hello, > You could use signals pre_save > https://docs.djangoproject.com/en/2.2/topics/signals/ > > > On Fri, Oct 18, 2019 at 4:49 AM Rain wrote: > >> Hello!. thanks for

Re: set school year and change boolean to False when school year is not active

2019-10-17 Thread Rain
> On Thu, Oct 17, 2019 at 4:27 PM Rain wrote: > >> Hi Guys!! Hope Fully someone can help me any hint or answer really >> appreaciated.. >> ireally stuck here in a couple of days now. >> My Problem is i want to set a school year using >> start_year and end_year

set school year and change boolean to False when school year is not active

2019-10-17 Thread Rain
Hi Guys!! Hope Fully someone can help me any hint or answer really appreaciated.. ireally stuck here in a couple of days now. My Problem is i want to set a school year using start_year and end_year field then when school year end this would automatically in_active for example start_year:

Django Template Tags not working inside script

2019-10-10 Thread Rain
I want to add an for each method in inside script but for some reason django template tags not working in this case only. can someone please help me ! thanks alot -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Django Template Tags not working inside script

2019-10-10 Thread Rain
e editor didn't recognize the tags, have you > tried ignore them and see if django will report an error ? > > On Thu, Oct 10, 2019 at 6:22 PM Rain wrote: > >> I want to add an for each method in inside script but for some reason >> django template tags not working in this c

Re: Django Template Tags not working inside script

2019-10-10 Thread Rain
you include this in your html > page? > > Regards, > > Andréas > > > Den tors 10 okt. 2019 kl 12:22 skrev Rain : > >> I want to add an for each method in inside script but for some reason >> django template tags not working in this case only. >> can some