view accounts/fixtures/accounts.json @ 715:820e57e621e8

Use |safe filter on Haystack templates to get better results w/quotes. Content was getting escaped, so text with quotes around it was seemingly missing from the search index. This change fixed that. I verified that the search results will not leak raw HTML to the page so this should be safe to do.
author Brian Neal <bgneal@gmail.com>
date Tue, 17 Sep 2013 20:26:49 -0500
parents ee87ea74d46b
children
line wrap: on
line source
[
    {
        "pk": 1, 
        "model": "accounts.illegalusername", 
        "fields": {
            "username": "root"
        }
    }, 
    {
        "pk": 2, 
        "model": "accounts.illegalusername", 
        "fields": {
            "username": "sg101"
        }
    }, 
    {
        "pk": 3, 
        "model": "accounts.illegalusername", 
        "fields": {
            "username": "surfguitar101"
        }
    }, 
    {
        "pk": 4, 
        "model": "accounts.illegalusername", 
        "fields": {
            "username": "webmaster"
        }
    }
]