Tuesday, August 18, 2020

Re: type error

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

On Tue, 18 Aug 2020 at 9:21 PM, Rostislav Kornatsky <info.send.only@gmail.com> wrote:
Hi, my name is Rostislav and I'm learning Django too, We could collaborate and learn it together:)

пт, 14 авг. 2020 г. в 21:50, Peter Kirieny <kirienypeter@gmail.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








--


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+unsubscribe@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL8t8epXffzY6L6ox8whRQuf16n1bGOuQ9pGnHEWPt_XQBahqg%40mail.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+unsubscribe@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPe0rWvVEVE%2B-3vaSq5VCWmQFBY4T5FTn2tLVs_hKD%3DfHv6CaA%40mail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGQ3pf9_TLkj8%3D6qD9%2BNYU3r1YnepGc-isMai2G9D-PLj4Lqfw%40mail.gmail.com.

No comments:

Post a Comment