maybe this will help 

" from django.conf import settings 
 class Design(models.Model): 
 human_readable_id = models.CharField(max_length=10, default=id_generator, 
db_index=True) 
 manager = models.CharField(max_length=40) 
 worker = models.ForeignKey( 
 settings.AUTH_USER_MODEL, 
 on_delete=models.CASCADE, 
*to_field='username'* ) "

On Wednesday, August 9, 2023 at 6:11:59 AM UTC+8 Hendry Revenus wrote:

> Thank you 
>
> On Tue, 8 Aug 2023, 14:57 Prashanth Patelc, <prashan...@gmail.com> wrote:
>
>> I'm not able to send multiple data in front -end .
>>
>> On Tue, Aug 8, 2023, 5:21 PM Mz Gz <trapp...@gmail.com> wrote:
>>
>>> Check the object sent from frontend using developer tools in browser.
>>>
>>> If the object is sent correctly to backend.
>>>
>>> Just access is from POST dict
>>>
>>> On Tue, 8 Aug 2023, 1:19 pm Prashanth Patelc, <prashan...@gmail.com> 
>>> wrote:
>>>
>>>> Hi all, 
>>>>
>>>> I'm sending multiple rows data through html but I'm unable to save data 
>>>> in django I'm not receiving proper data.how to send multiple shifts names 
>>>> and times through ajax or html in django.
>>>>
>>>> I'm adding multiple shift name and in-time out-time .
>>>>
>>>> Please find the attached screenshot 
>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/CAMCU6CqWJme8fg-JuZJ%2BQnTBk63_f4%3DZMYTO7GFnRChOMt1teQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-users/CAMCU6CqWJme8fg-JuZJ%2BQnTBk63_f4%3DZMYTO7GFnRChOMt1teQ%40mail.gmail.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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAHV4E-fOikH7dWcJYkjyOQobj57%2BJ5Zef0y3PzfsoJN0gVgEhQ%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/CAHV4E-fOikH7dWcJYkjyOQobj57%2BJ5Zef0y3PzfsoJN0gVgEhQ%40mail.gmail.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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAMCU6CrNoyoRykrSmABgwWwpWL5o-bhqpcMpL4YPj-v%3D%2BsA0tA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CAMCU6CrNoyoRykrSmABgwWwpWL5o-bhqpcMpL4YPj-v%3D%2BsA0tA%40mail.gmail.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/e7974823-dfa3-4a36-9c15-1ea91ba875dan%40googlegroups.com.

Reply via email to