type error

41 views
Skip to first unread message

Peter Kirieny

unread,
Aug 14, 2020, 2:50:35 PM8/14/20
to django...@googlegroups.com
hello, can somebody help with this please

    match = datetime_re.match(value)
TypeError: expected string or bytes-like object

I've made migrations but now i can't migrate, it brings the above error instead

Rostislav Kornatsky

unread,
Aug 18, 2020, 9:22:45 AM8/18/20
to django...@googlegroups.com
Hi, my name is Rostislav and I'm learning Django too, We could collaborate and learn it together:)

пт, 14 авг. 2020 г. в 21:50, Peter Kirieny <kirien...@gmail.com>:
--
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/CAL8t8epXffzY6L6ox8whRQuf16n1bGOuQ9pGnHEWPt_XQBahqg%40mail.gmail.com.

Liu Zheng

unread,
Aug 18, 2020, 9:35:22 AM8/18/20
to django...@googlegroups.com
hi,

What’s the type and value of that variable “value”? It would be helpful to print out value and type(value) right in front of this line where error occurs.

Best
Zheng

Amitesh Sahay

unread,
Aug 19, 2020, 1:53:30 AM8/19/20
to django...@googlegroups.com
Hi, 

I have developed a django website for my company. Its schoolnskill.com
For now its not much to look at. But due to other work I am not able to add enhancements to it. 

1) I need to add payment gateway(Paytm and Paypal)
2) Create one more model and then create respective forms.py and views.py and integrate it with frontend.( I can give more clarity).

Please let me know if anybody is up for it

Regards,
Amitesh


Reply all
Reply to author
Forward
0 new messages