graphite: 0.9.15 -> 1.0.2
Fixes: #29961 Also added the option: services.graphite.web.extraConfig for configuring graphite_web.
This commit is contained in:
14
pkgs/development/python-modules/waitress-django/src/waitress-serve-django
Executable file
14
pkgs/development/python-modules/waitress-django/src/waitress-serve-django
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
from waitress import serve
|
||||
from waitress.adjustments import Adjustments
|
||||
import django
|
||||
from django.core.handlers.wsgi import WSGIHandler
|
||||
from django.contrib.staticfiles.handlers import StaticFilesHandler
|
||||
|
||||
if __name__ == "__main__":
|
||||
kw, args = Adjustments.parse_args(sys.argv[1:])
|
||||
django.setup()
|
||||
# These arguments are specific to the runner, not waitress itself.
|
||||
del kw['call'], kw['help']
|
||||
serve(StaticFilesHandler(WSGIHandler()), **kw)
|
||||
Reference in New Issue
Block a user