Please use polite language. Thank you.

- Tom

> On Dec 5, 2021, at 5:21 PM, Anurag Agarwal <anurag.aarav...@gmail.com> wrote:
> 
> Why are you fucking passing the args
> On_delete in manytomany . Class
> 
>    promotion = models.ManyToManyField(Promotions, on_delete=models.CASCADE)
> 
> 
> On Sun, Dec 5, 2021, 21:09 Samuel Nogueira <hu3mule...@gmail.com 
> <mailto:hu3mule...@gmail.com>> wrote:
> Please, can you take some prints of your models?
> 
> Em dom., 5 de dez. de 2021 12:34, Khánh Hoàng <hoangduckhanh432...@gmail.com 
> <mailto:hoangduckhanh432...@gmail.com>> escreveu:
> Hi everyone, I am new to programming, more than 4 months, I had an issue when 
> making  migrations for my apps. 
> 
> I run :" python manage.py makemigrations " and  I got a error.
>  It said:  TypeError: __init__() got an unexpected keyword argument 'on 
> delete'
> I'm Using Django 3.2.9 
> Can someone explain it for me? And how to fix it.
> 
> Thanks and Regards,
> Khanh Hoang
> 
> -- 
> 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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/b5adebe5-05b0-4c33-b164-85fda53e13cbn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/b5adebe5-05b0-4c33-b164-85fda53e13cbn%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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAOJT-cB8%3DxmYBFPykbRxAdagN-PoDQQRne-r8MjHLZk2MX7j9w%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-users/CAOJT-cB8%3DxmYBFPykbRxAdagN-PoDQQRne-r8MjHLZk2MX7j9w%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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAOuTKWKubiOk%3D%3DezHsSfP_k%2BamwPma7FUP1Goe%3DKBxcvWu03pQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-users/CAOuTKWKubiOk%3D%3DezHsSfP_k%2BamwPma7FUP1Goe%3DKBxcvWu03pQ%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/190AFFA2-900F-4D18-A7A7-ED1925586E37%40gmail.com.

Reply via email to