Re: Django foreign-key cannot assign must be a instance

2020-05-20 Thread saqlain abbas
try to pass -1.0 On Tue, May 19, 2020 at 1:08 PM Aldian Fazrihady wrote: > replace > ``` > Report.objects.create(param=test_name,comp=compon,value=test_value) > ``` > with > ``` > Report.objects.create(param=test_name,comp_id=compon,value=test_value) > ``` > > On Tue, May 19, 2020 at 2:39 PM rat

Re: Categories and shoe Subcategories according to the parent category.

2020-05-19 Thread saqlain abbas
Please tell me if anyone knows about this. On Mon, May 18, 2020 at 4:50 PM saqlain abbas wrote: > Hi, if i add Categories , for example > 1)accessories > 2)sports > 3)books > Subcategories: > accessories is the parent category > child categories are > watches > jewlry

Categories and shoe Subcategories according to the parent category.

2020-05-18 Thread saqlain abbas
Hi, if i add Categories , for example 1)accessories 2)sports 3)books Subcategories: accessories is the parent category child categories are watches jewlry caps how can i show if user selects the parent category accessories then the subcategories show according to parent categories like subcate