mysociety / pombola

GNU Affero General Public License v3.0
65 stars 41 forks source link

MP names have leading non-breaking spaces #1723

Closed wrightmartin closed 9 years ago

wrightmartin commented 9 years ago

<h1>&nbsp;Mrs Cheryllyn Dudley</h1> from http://www.pa.org.za/person/cheryllyn-dudley/

mhl commented 9 years ago

For some reason, 383 out of the 853 people who have a title have a leading non-breaking space:

In [11]: for p in Person.objects.filter(title__icontains=u'\xa0'):
   ....:     print repr(p.title), repr(p.legal_name)
   ....:     
u'\xa0Mrs' u'Beverley Lynnette Abrahams'
u'\xa0Mr' u'Freddie Adams'
u'\xa0Mr' u'Derrick America'
u'\xa0Mr' u'Patrick George Atkinson'
u'\xa0Mr' u'Michael Bagraim'
u'\xa0Ms' u'Tarnia Elena Baker'
u'\xa0Mrs' u'Zisiwe Beauty Nosimo Balindlela'
u'\xa0Mrs' u'Vatiswa Bam-Mugwanya'
u'\xa0Mr' u'Kopeng Obed Bapela'
u'\xa0Mrs' u'Joyce Vuyiswa Basson'
u'\xa0Mr' u'Leonard Jones Basson'
u'\xa0Mr' u'Simphiwe Donatus Bekwa'
u'\xa0Mr' u'Darren Bergman'
u'\xa0Mr' u'Francois Beukman'
u'\xa0Mr' u'Bennet Mzwenqaba Bhanga'
u'\xa0Ms' u'Nozabelo Ruth Bhengu'
u'\xa0Ms' u'Phumzile Bhengu'
u'\xa0Mr' u'Fezile Bhengu'
u'\xa0Ms' u'Nkhensani Kate Bilankulu'
u'\xa0Ms' u'Hendrietta Ipeleng Bogopane-Zulu'
u'\xa0Mr' u'Bongani Thomas Bongo'
u'\xa0Mr' u'Trevor John Bonhomme'
u'\xa0Ms' u'Mmatlala Grace Boroto'
u'\xa0Ms' u'Shela Paulina Boshielo'
u'\xa0Ms' u'Hildegard Sonja Boshoff'
u'\xa0Mr' u'Timothy James Brauteseth'
u'\xa0Mrs' u'Glynnis Breytenbach'
u'\xa0Ms' u'Lynette Brown'
u'\xa0Prince' u'Mangosuthu Gatsha Buthelezi'
u'\xa0Mr' u'Ndumiso Capa'
u'\xa0Ms' u'Rosemary Nokuzola Capa'
u'\xa0Dr' u'Michael John Cardo'
u'\xa0Mr' u'Yunus Ismail Carrim'
u'\xa0Ms' u'Deidre Carter'
u'\xa0Mr' u'Yusuf Cassim'
u'\xa0Mr' u'Mosie Antony Cele'
u'\xa0Mr' u'Bhekokwakhe Hamilton Cele'
u'\xa0Mr' u'Ohm Collins Chabane'
u'\xa0Mr' u'Roger William Tobias Chance'
u'\xa0Ms' u'Lydia Sindisiwe Chikunga'
u'\xa0Ms' u'Fatima Ismail Chohan'
u'\xa0Ms' u'Elsie Mmathulare Coleman'
u'\xa0Mr' u'Jeremy Patrick Cronin'
u'\xa0Mr' u'Siyabonga Cyprian Cwele'
u'\xa0Ms' u'Phumzile Thelma Van Damme'
u'\xa0Mr' u'Robert Haydn Davies'
u'\xa0Mr' u'Gavin Richard Davis'
u'\xa0Ms' u'Dipuo Bertha Letsatsi-Duba'
u'\xa0Ms' u'Angela Thokozile Didiza'
u'\xa0Mr' u'Mervyn Alexander Dirks'
u'\xa0Ms' u'Dorries Eunice Dlakude'
u'\xa0Ms' u'Bathabile Olive Dlamini'
u'\xa0Ms' u'Zephroma Sizani Dlamini-Dubazana'
u'\xa0Ms' u'Ayanda Dlodlo'
u'\xa0Ms' u'Bongekile Jabulile Dlomo'
u'\xa0Ms' u'Beauty Nomvuzo Dlulane'
u'\xa0Mrs' u'Anchen Margaretha Dreyer'
u'\xa0Mrs' u'Cheryllyn Dudley'
u'\xa0Ms' u'Mary-Ann Lindelwa Dunjwa'
u'\xa0Ms' u'Veronica Van Dyk'
u'\xa0Mr' u'Ebrahim Ismail Ebrahim'
u'\xa0Mr' u'Ahmed Munzoor Shaik Emam'
u'\xa0Mr' u'Shahid Esau'
u'\xa0Mr' u'Jan Adriaan Esterhuizen'
u'\xa0Ms' u'Zukisa Cheryl Faku'
u'\xa0Mr' u'Malcolm John Figg'
u'\xa0Mr' u'Archibold Mzuvukile Figlan'
u'\xa0Mr' u'Mncedisi Lutando Wellington Filtane'
u'\xa0Mr' u'Manuel Sim\xe3o Franca De Freitas'
u'\xa0Mr' u'Cedric Thomas Frolick'
u'\xa0Ms' u'Joanmariae Louise Fubbs'
u'\xa0Mr' u'Mandlenkosi Phillip Galo'
u'\xa0Mr' u'Dennis Dumisani Gamede'
u'\xa0Mr' u'Stanford Makashule Gana'
u'\xa0Mr' u'Godrich Ahmed Gardee'
u'\xa0Ms' u'Lungi Annette Mnganga - Gcabashe'
u'\xa0Mr' u'Ndabakayise Erasmus Gcwabaza'
u'\xa0Dr' u'Dion Travers George'
u'\xa0Mr' u'Knowledge Malusi Nkanyezi Gigaba'
u'\xa0Ms' u'Nomalungelo Gina'
u'\xa0Mr' u'Joseph Job Mc Gluwa'
u'\xa0Mr' u'Nelson Themba Godi'
u'\xa0Dr' u'Monwabisi Bevan Goqwana'
u'\xa0Mr' u'Pravin Jamnadas Gordhan'
u'\xa0Mr' u'Tandeka Gqada'
u'\xa0Mr' u'Lance William Greyling'
u'\xa0Dr' u'Petrus Johannes Groenewald'
u'\xa0Mr' u'Gregory Allen Grootboom'
u'\xa0Mr' u'Donald Mlindwa Gumede'
u'\xa0Mr' u'Derek Andr\xe9 Hanekom'
u'\xa0Mr' u'Geordin Gwyn Hill-Lewis'
u'\xa0Mr' u'Mkhuleko Hlengwa'
u'\xa0Dr' u'Bantubonke Harrington Holomisa'
u'\xa0Inkosi' u'Sango Patekile Holomisa'
u'\xa0Mr' u'Mohammed Haniff Hoosen'
u'\xa0Mr' u'Werner Horn'
u'\xa0Mr' u'Christian Hans Heinrich Hunsinger'
u'\xa0Mr' u'Steven Mahlubanzima Jafta'
u'\xa0Dr' u'Wilmot Godfrey James'
u'\xa0Ms' u'Lungiswa Veronica James'
u'\xa0Mr' u'John Harold Jeffery'
u'\xa0Ms' u'Tina Monica Joemat-Pettersson'
u'\xa0Mr' u'Mlungisi Johnson'
u'\xa0Mr' u'Mcebisi Hubert Jonas'
u'\xa0Ms' u'Zelda Jongbloed'
u'\xa0Mr' u'Bernard Daniel Joseph'
u'\xa0Mr' u'Mziwamadoda Uppington Kalako'
u'\xa0Ms' u'Santosh Vinita Kalyan'
u'\xa0Ms' u'Hellen Boikhutso Kekana'
u'\xa0Ms' u'Pinky Sharon Kekana'
u'\xa0Mr' u'Maesela David Kekana'
u'\xa0Mr' u'Ezekiel Kekana'
u'\xa0Mr' u'Charles Danny Kekana'
u'\xa0Ms' u'Tandiwe Elizabeth Kenye'
u'\xa0Ms' u'Makoti Sibongile Khawula'
u'\xa0Mr' u'Lefu Peter Khoarai'
u'\xa0Mr' u'Dalton Hlamalani Khosa'
u'\xa0Dr' u'Makhosi Busisiwe Khoza'
u'\xa0Mr' u'Nicholous Pro Khoza'
u'\xa0Mr' u'Nhlanhlakayise Moses Khubisa'
u'\xa0Ms' u'Nthabiseng Pauline Khunou'
u'\xa0Ms' u'Karen De Kock'
u'\xa0Mr' u'Ncediso Goodenough Kodwa'
u'\xa0Ms' u'Dianne Kohler Barnard'
u'\xa0Dr' u'Gerhardus Willem Koornhof'
u'\xa0Ms' u'Semakaleng Patricia Kopane'
u'\xa0Ms' u'Zoliswa Albertina Kota-Fredericks'
u'\xa0Mr' u'Hendrik Christiaan Crafford Kr\xfcger'
u'\xa0Mr' u'Gregory Rudy Krumbock'
u'\xa0Ms' u'Mmamoloko Tryphosa Kubayi'
u'\xa0Mr' u'Nqabayomzi Lawrence Saziso Kwankwa'
u'\xa0Mr' u'Luwellyn Tyrone Landers'
u'\xa0Mr' u'Robert Alfred Lees'
u'\xa0Mr' u'Mosiuoa Gerard Patrick Lekota'
u'\xa0Ms' u'Regina Mina Mpontseng Lesoma'
u'\xa0Ms' u'Lindiwe Michelle Maseko'
u'\xa0Ms' u'Khanyisile Litchfield-Tshabalala'
u'\xa0Ms' u'Fezeka Sister Loliwe'
u'\xa0Mr' u'James Robert Bourne Lorimer'
u'\xa0Dr' u'Annelie Lotriet'
u'\xa0Ms' u'Elsabe Natasha Louw'
u'\xa0Ms' u'Annette Theresa Lovemore'
u'\xa0Dr' u'Zukile Luyenge'
u'\xa0Mr' u'Sahlulele Luzipho'
u'\xa0Mr' u'Jerome Joseph Maake'
u'\xa0Mr' u'Xitlhangoma Mabasa'
u'\xa0Ms' u'Bertha Peace Mabe'
u'\xa0Mr' u'Puleng Peter Mabe'
u'\xa0Ms' u'Livhuhani Mabija'
u'\xa0Mr' u'Mandlenkosi Sicelo Mabika'
u'\xa0Mr' u'Solomon Patrick Mabilo'
u'\xa0Ms' u'Thizwilondi Rejoyce Mabudafhasi'
u'\xa0Mr' u'Gordon Mackay'
u'\xa0Mr' u'Cameron Mackenzie'
u'\xa0Mr' u'Dean William Macpherson'
u'\xa0Mr' u'Andrew Frans Madella'
u'\xa0Ms' u'Nomzamo Winfred Madikizela-Mandela'
u'\xa0Mr' u'William Mothipa Madisha'
u'\xa0Dr' u'Celiwe Qhamkile Madlopha'
u'\xa0Dr' u'Patrick Maesela'
u'\xa0Ms' u'Mapule Veronica Mafolo'
u'\xa0Ms' u'Nocawe Noncedo Mafu'
u'\xa0Mrs' u'Nosilivere Winifred Magadla'
u'\xa0Ms' u'Dikeledi Phillistus Magadzi'
u'\xa0Mr' u'Gratitude Magwanishe'
u'\xa0Ms' u'Tandi Mahambehlala'
u'\xa0Mr' u'Amos Fish Mahlalela'
u'\xa0Ms' u'Dikeledi Gladys Mahlangu'
u'\xa0Mr' u'Jabulani Lukas Mahlangu'
u'\xa0Mr' u'Mbangiseni David Mahlobo'
u'\xa0Mr' u'Moloko Stanford Armour Maila'
u'\xa0Mr' u'Mmusi Aloysias Maimane'
u'\xa0Mr' u'Thembekile Richard Majola'
u'\xa0Mr' u'Fikile Zachariah Majola'
u'\xa0Ms' u'Lusizo Sharon Makhubela-Mashele'
u'\xa0Mr' u'Zondi Silence Makhubele'
u'\xa0Mr' u'Thomas Makondo'
u'\xa0Mr' u'Thabang Sampson Phathakge Makwetla'
u'\xa0Mr' u'Julius Sello Malema'
u'\xa0Ms' u'Hope Helene Malgas'
u'\xa0Ms' u'Johanna Mmule Maluleke'
u'\xa0Mr' u'Kgwaridi Buti Manamela'
u'\xa0Ms' u'Duduzile Promise Manana'
u'\xa0Ms' u'Millicent Ntombizodwa Sibongile Manana'
u'\xa0Mr' u'Mduduzi Comfort Manana'
u'\xa0Mr' u'Zwelivelile Mandlesizwe Dalibhunga Mandela'
u'\xa0Ms' u'Priscilla Tozama Mantashe'
u'\xa0Mr' u'Emmanuel Ramaotoana Kebby Maphatsoe'
u'\xa0Ms' u'Nosiviwe Noluthando Nqakula'
u'\xa0Mr' u'Mohlopi Phillemon Mapulane'
u'\xa0Mr' u'Sarel Jacobus Francois Marais'
u'\xa0Mr' u'Erik Johannes Marais'
u'\xa0Ms' u'Nomsa Innocencia Tarabella Marchesi'
u'\xa0Mr' u'Benedict Anthony Duke Martins'
u'\xa0Mr' u'Suhla James Masango'
u'\xa0Mr' u'Moses Siphosezwe Amos Masango'
u'\xa0Ms' u'Elizabeth Koena Mmanoko Masehela'
u'\xa0Ms' u'Ngwanamakwetle Reneiloe Mashabela'
u'\xa0Mr' u'Shipokosa Paulus Mashatile'
u'\xa0Ms' u'Kwati Candith Mashego-Dlamini'
u'\xa0Mr' u'Buoang Lemias Mashile'
u'\xa0Mr' u'Mzwandile Collen Masina'
u'\xa0Mr' u'Nkosiyakhe Amos Masondo'
u'\xa0Mr' u'Madala Backson Masuku'
u'\xa0Adv' u'Tshililo Michael Masutha'
u'\xa0Mr' u'Cassel Charlie Mathale'
u'\xa0Ms' u'Dudu Hellen Mathebe'
u'\xa0Mr' u'Motswaledi Hezekiel Matlala'
u'\xa0Mr' u'Abinaar Modikela Matlhoko'
u'\xa0Mr' u'Choloane David Matsepe'
u'\xa0Ms' u'Mandisa Octovia Matshoba'
u'\xa0Ms' u'Asanda Matshobeni'
u'\xa0Ms' u'Cathrine Matsimbi'
u'\xa0Mr' u'Risimati Thompson Mavunda'
u'\xa0Mr' u'Comely Humphrey Maqocwa Maxegwana'
u'\xa0Ms' u'Hlengiwe Octavia Maxon'
u'\xa0Mr' u'David John Maynier'
u'\xa0Mr' u'Fikile April Mbalula'
u'\xa0Ms' u'Baleka Mbete'
u'\xa0Mr' u'Zakhele Njabulo Mbhele'
u'\xa0Ms' u'Sibongile Mchunu'
u'\xa0Mr' u'Alan Ross Mcloughlin'
u'\xa0Ms' u'Nomakhaya Mavis Mdaka'
u'\xa0Mr' u'Mzameni Richard Mdakane'
u'\xa0Ms' u'Thandi Cecilia Memela'
u'\xa0Ms' u'Liezl Linda van der Merwe'
u'\xa0Rev' u'Kenneth Raselabe Joseph Meshoe'
u'\xa0Ms' u'NomaIndiya Cathleen Mfeketho'
u'\xa0Mr' u'Tsepo Winston Mhlongo'
u'\xa0Ms' u'Natasha Wendy Anita Mazzone'
u'\xa0Mr' u'Kevin John Mileham'
u'\xa0Ms' u'Lindiwe Ntombikayise Mjobo'
u'\xa0Mr' u'Hlengiwe Buhle Mkhize'
u'\xa0Mr' u'Bongani Michael Mkongi'
u'\xa0Mr' u'Humphrey Mdumzeli Zondelele Mmemezi'
u'\xa0Mr' u'Samuel Gaaesi Mmusi'
u'\xa0Mr' u'Sibusiso Christopher Mncwabe'
u'\xa0Mr' u'Mangaqa Albert Mncwango'
u'\xa0Mr' u'Derick Mnguni'
u'\xa0Mr' u'Pumzile Justice Mnguni'
u'\xa0Mr' u'John Andile Mngxitama'
u'\xa0Ms' u'Nokhaya Adelaide Mnisi'
u'\xa0Ms' u'Velhelmina Pulani Mogotsi'
u'\xa0Mr' u'Stevens Mokgalapa'
u'\xa0Ms' u'Nthibane Rebecca Mokoto'
u'\xa0Ms' u'Maapi Angelina Molebatsi'
u'\xa0Ms' u'Bomo Edna Edith Molewa'
u'\xa0Ms' u'Joyce Clementine Moloi-Moropa'
u'\xa0Ms' u'Magdalene Moonsamy'
u'\xa0Mr' u'Kgotso Zachariah Morapela'
u'\xa0Ms' u'Masefele Rosalia Morutoa'
u'\xa0Mr' u'Itumeleng Mosala'
u'\xa0Mr' u'Sejamotopo Charles Motau'
u'\xa0Mrs' u'Madipoane Refiloe Moremadi Mothapo'
u'\xa0Mr' u'Malusi Stanley Motimele'
u'\xa0Mrs' u'Matsie Angelina Motshekga'
u'\xa0Dr' u'Mathole Serofo Motshekga'
u'\xa0Dr' u'Pakishe Aaron Motsoaledi'
u'\xa0Mr' u'Seropane Senyane Alton Mphethi'
u'\xa0Mr' u'Alfred Mkhipheni Mpontshane'
u'\xa0Ms' u'Veronica Zanele Msibi'
u'\xa0Mrs' u'Nokukhanya Mthembu'
u'\xa0Mr' u'Jackson Mphikwa Mthembu'
u'\xa0Mr' u'Enock Muzi Mthethwa'
u'\xa0Mr' u'Emmanuel Nkosinathi Mthethwa'
u'\xa0Mr' u'Kenneth Sililo Mubu'
u'\xa0Mr' u'Abram Molefe Mudau'
u'\xa0Mr' u'Thilivhali Elphus Mulaudzi'
u'\xa0Dr' u'Pieter Willem Adriaan Mulder'
u'\xa0Dr' u'Cornelius Petrus Mulder'
u'\xa0Ms' u'Azwihangwisi Faith Muthambi'
u'\xa0Mr' u'Mamagase Elleck Nchabeleng'
u'\xa0Ms' u'Stella Tembisa Ndabeni-Abrahams'
u'\xa0Mr' u'Joel Sibusiso Ndebele'
u'\xa0Mr' u'Mbuyiseni Quintin Ndlozi'
u'\xa0Ms' u'Nokuzola Ndongeni'
u'\xa0Mr' u'Andries Carl Nel'
u'\xa0Mr' u'Nhlanhla Musa Nene'
u'\xa0Mr' u'Bonisile Alfred Nesi'
u'\xa0Ms' u'Beatrice Thembekile Ngcobo'
u'\xa0Ms' u'Phumuzile Catherine Ngwenya-Mabila'
u'\xa0Ms' u'Mogotle Friddah Nkadimeng'
u'\xa0Mr' u'Hlakudi Frans Nkoana'
u'\xa0Ms' u'Maite Emily Nkoana-Mashabane'
u'\xa0Ms' u'Sibongile Judith Nkomo'
u'\xa0Mr' u'Gugile Ernest Nkwinti'
u'\xa0Ms' u'Girly Namhla Nobanda'
u'\xa0Ms' u'Claudia Nonhlanhla Ndaba'
u'\xa0Mr' u'Madala Louis David Ntombela'
u'\xa0Mr' u'Lulama Maxwell Ntshayisa'
u'\xa0Ms' u'Bongi Maria Ntuli'
u'\xa0Ms' u'Nosipho Dorothy Ntwanambi'
u'\xa0Mr' u'Thembelani Waltermade Nxesi'
u'\xa0Ms' u'Raesibe Eunice Nyalungu'
u'\xa0Mr' u'Bonginkosi Emmanuel Nzimande'
u'\xa0Mr' u'Gaolatlhe Godfrey Oliphant'
u'\xa0Ms' u'Mildred Nelisiwe Oliphant'
u'\xa0Mr' u'Ian Michael Ollis'
u'\xa0Mr' u'Gerhardus Cornelius Oosthuizen'
u'\xa0Dr' u'Mario Gaspare Oriani-Ambrosini'
u'\xa0Ms' u'Grace Naledi Mandisa Pandor'
u'\xa0Mr' u'Ebrahim Patel'
u'\xa0Ms' u'Mamonare Patricia Chueu'
u'\xa0Ms' u'Elizabeth Dipuo Peters'
u'\xa0Mr' u'Mathume Joseph Phaahla'
u'\xa0Mrs' u'Yvonne Nkwenkwezi Phosa'
u'\xa0Mr' u'Imamile Aubin Pikinini'
u'\xa0Ms' u'Makgathatso Charlotte Chana Pilane-Majake'
u'\xa0Mr' u'Molapi Andries Plouamma'
u'\xa0Ms' u'Agnes Daphne Noluthando Qikani'
u'\xa0Mr' u'Mponeng Winston Rabotapi'
u'\xa0Mr' u'Jeffrey Thamsanqa Radebe'
u'\xa0Mr' u'Goodwill Sbusiso Radebe'
u'\xa0Mr' u'Bhekizizwe Abram Radebe'
u'\xa0Mr' u'Strike Michael Ralegoma'
u'\xa0Mr' u'Ramakaudi Paul Ramakatsa'
u'\xa0Mr' u'Matamela Cyril Ramaphosa'
u'\xa0Mr' u'Ngoako Abel Ramatlhodi'
u'\xa0Mr' u'Tete Ramalie Jonas Ezekiel Ramokhoase'
u'\xa0Ms' u'Daphne Zukiswa Rantho'
u'\xa0Ms' u'Deborah Dineo Raphuti'
u'\xa0Mr' u'Marius Helenis Redelinghuys'
u'\xa0Mrs' u'Denise Robinson'
u'\xa0Mr' u'David Douglas Des Van Rooyen'
u'\xa0Ms' u'Machwene Rosina Semenya'
u'\xa0Mr' u'David Christie Ross'
u'\xa0Mr' u'Marthinus Christoffel Johannes Van Schalkwyk'
u'\xa0Ms' u'Sharome Renay Van Schalkwyk'
u'\xa0Ms' u'Maureen Angela Scheepers'
u'\xa0Mr' u'Hendrik Cornelus Schmidt'
u'\xa0Mr' u'James Selfe'
u'\xa0Ms' u'Cornelia Carol September'
u'\xa0Mr' u'Mmoba Solomon Seshoka'
u'\xa0Ms' u'Susan Shabangu'
u'\xa0Mr' u'Maliyakhe Lymon Shelembe'
u'\xa0Mr' u'Nyiko Floyd Shivambu'
u'\xa0Ms' u'Sheila Coleen Nkhensani Shope-Sithole'
u'\xa0Mr' u'Mtikeni Patrick Sibande'
u'\xa0Mr' u'Narend Singh'
u'\xa0Mr' u'Max Vuyisile Sisulu'
u'\xa0Ms' u'Lindiwe Nonceba Sisulu'
u'\xa0Mr' u'Khethamabala Petros Sithole'
u'\xa0Mr' u'Elvis Kholwana Siwela'
u'\xa0Mr' u'Phumelele Stone Sizani'
u'\xa0Mr' u'James Jim Skosana'
u'\xa0Mr' u'Mcebisi Skwatsha'
u'\xa0Mr' u'Vincent George Smith'
u'\xa0Ms' u'Nokulunga Primrose Sonti'
u'\xa0Ms' u'Makhotso Magdeline Sotyu'
u'\xa0Ms' u'Terri Stander'
u'\xa0Mr' u'John Henry Steenhuisen'
u'\xa0Ms' u'Johanna Steenkamp'
u'\xa0Ms' u'Annette Steyn'
u'\xa0Mr' u'Dirk Jan Stubbe'
u'\xa0Mr' u'Mohamed Enver Surty'
u'\xa0Mr' u'Steven Nicholas Swart'
u'\xa0Ms' u'Johanna Fredrika Terblanche'
u'\xa0Ms' u'Elizabeth Thabethe'
u'\xa0Ms' u'Barbara Thomson'
u'\xa0Mr' u'Sello Albert Tleane'
u'\xa0Ms' u'Thandi Vivian Tobias'
u'\xa0Ms' u'Xoliswa Sandra Tom'
u'\xa0Ms' u'Grace Kekulu Tseke'
u'\xa0Mr' u'Rembuluwani Moses Tseli'
u'\xa0Mr' u'Solomon Lechesa Tsenoli'
u'\xa0Ms' u'Pamela Tshwete'
u'\xa0Ms' u'Sibongile Pearm Tsoleli'
u'\xa0Ms' u'Mantsheng Anna Tsopo'
u'\xa0Ms' u'Dikeledi Rebecca Tsotetsi'
u'\xa0Mr' u'Diliza Lucky Twala'
u'\xa0Dr' u'Heinrich Cyril Volmink'
u'\xa0Mr' u'James Vos'
u'\xa0Mr' u'Thomas Charles Ravenscroft Walters'
u'\xa0Mr' u'Michael Waters'
u'\xa0Mr' u'Andricus Pieter Van der Westhuizen'
u'\xa0Mr' u'Andrew Grant Whitfield'
u'\xa0Ms' u'Evelyn Rayne Wilson'
u'\xa0Ms' u'Tokozile Xasa'
u'\xa0Ms' u'Sheilla Tembalam Xego'
u'\xa0Ms' u'Lulama Marytheresa Xingwana'
u'\xa0Ms' u'Lumka Elizabeth Yengeni'
u'\xa0Mr' u'Senzeni Zokwana'
u'\xa0Ms' u'Lindiwe Daphne Zulu'

I've no idea why these are here. I guess they must have been added at some point as a formatting hack? Anyway, this should fix that problem:

In [1]: from pombola.core.models import Person

In [2]: for p in Person.objects.filter(title__icontains=u'\xa0'):
   ...:     p.title = p.title.replace(u'\xa0', '')
   ...:     p.save()
   ...:     
mhl commented 9 years ago

Fixed now, with:

In [1]: from pombola.core.models import Person

In [2]: for p in Person.objects.filter(title__icontains=u'\xa0'):
   ...:     p.title = p.title.replace(u'\xa0', ' ').strip()
   ...:     p.save()