I'm collecting strings from web page sources and storing extracted data in a TextField. If it is done again, it gets added into the TextField.

My code goes something like ...

If data not in textfield:
    insert_data(data, textfield)

... but no matter how I wrinkle my brow and try harder and harder I simply cannot get x in y == True when it most definitely appears true.

Therefore it must be a unicode problem. And unicode defeats me every time.

Can anyone suggest a recipe?

I hesitate to ask for unicode tutorial links because I have read them all and always come away needing counselling.

I'm using Python 3.5, Python 2.7, Django 1.8.18 with the Admin and plain TextField without any editor widgets.

Thanks heaps

Mike


--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/47cb51de-a5b9-7a4f-a4f8-da8fdb8d0a51%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to