Coder Social home page Coder Social logo

Comments (3)

toastdriven avatar toastdriven commented on May 10, 2024

If you change your DEBUG to False, those lines will not appear.

Long term, I'm not sure what to do here. On the one hand, those lines definitely interfere with some operations. On the other, having that information always display is both a helpful reminder that search is there and a good sanity check. I'll think on it more in the near future.

from django-haystack.

toastdriven avatar toastdriven commented on May 10, 2024

For now, I'm going to close this and solicit feedback before 1.0.

from django-haystack.

notanumber avatar notanumber commented on May 10, 2024

While I like having this information display, it generates errors in the error log if you use mod_wsgi and DEBUG=True

[Thu Jun 18 15:00:07 2009] [error] IOError: sys.stdout access restricted by mod_wsgi

Also, if you remap stdout to stderr in mod_wsgi, to get rid of the error, you'll get the two lines in your error log which probably shouldn't be there.

Maybe there could be some way of detecting if Haystack is being loaded by the testserver and only displaying then?

from django-haystack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.