python - Middleware for both Django and Pylons -
It looks like how middleware should work but there are different ideas of Django and Pillons I like that the piles Are standardized, but seem to adopt the system more widely. Can middleware be used in both?
The project says that the middleware is porting a security toolkit to ESAPI from Java to Python. Because Java is so standards-oriented, it is very easy to have the structure an agnostic. In Python, different frameworks have different ideas about how HttpRequest objects and middleware work are basic things, so it seems more difficult.
Obviously, new users can not post more than one hyperlink to see below for links to Django and Pylons middleware information.
Pilones uses standard WSGI middleware if you deploy DNS through WSGI, then you At that time WSGI can use middleware. Although you can currently use Denskoji Middleware settings. In standard DeseƱo MIDDLEWARE_CLASSES option.
He said, currently a Google Summer Off Code project to enable the use of WSGI middleware in the DEGENGO itself. I am not following the status of this project, but the code is available.
Comments
Post a Comment