Git Product home page Git Product logo

Comments (4)

jellegerbrandy avatar jellegerbrandy commented on July 2, 2024

Wouldn't settings.WSGI_APPLICATION be the place to specify the wsgi app?

https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-WSGI_APPLICATION

from djangorecipe.

k4ml avatar k4ml commented on July 2, 2024

That I think does not allow you to fully wrap the application, such as even before django itself get called.

from djangorecipe.

jellegerbrandy avatar jellegerbrandy commented on July 2, 2024

I'm not really sure what you mean by "wrapping the application before django gets called" - how would that work exactly?

In any case, as far as i can see, having the wsgi script respect the WSGI_APPLICATION setting of django (just as the "runserver" command does) is something that seems a good idea in any case...

from djangorecipe.

reinout avatar reinout commented on July 2, 2024

I've merged #78, I guess that solves the issue in a generic way? If needed you can wrap/modify the wsgi application object that way.

Can you take a look at djangorecipe 1.9 and its deploy_script_extra option?

from djangorecipe.

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.