You probably have a Integer field in one of your models with max_length arguments, so remove that argument and that should solve the problem
On Thu, 02 Jun 2022 at 01:37, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 2/06/2022 3:00 am, Paras Kashyap wrote: > > TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght' > > > You have probably seen this already ... should be 'max_length' > > Please someone tell me how to fix this error, this error occurs when i try > to make migrations > -- > 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/81c3da4c-5607-47e9-9fb1-458fa936afc1n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/81c3da4c-5607-47e9-9fb1-458fa936afc1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > > > -- > Signed email is an absolute defence against phishing. This email has > been signed with my private key. If you import my public key you can > automatically decrypt my signature and be sure it came from me. Just > ask and I'll send it to you. Your email software can handle signing. > > -- > 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/a50fb133-f703-e7c6-4215-6aa656099df0%40dewhirst.com.au > <https://groups.google.com/d/msgid/django-users/a50fb133-f703-e7c6-4215-6aa656099df0%40dewhirst.com.au?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/CAE0AZGJxanJQyPv4t8qV%3DjVt1UQTK0uRf0wsiQe5FA9EtCcoiQ%40mail.gmail.com.