This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################## | |
# Custom Blender -> Unity Pipeline | |
# http://www.mimimi-productions.com, 2014 | |
# Version: 1.9.M2 | |
# Only for Blender 2.58 and newer | |
# | |
# Thanks to kastoria, jonim8or and Freezy for their support! | |
# Special thanks to Sebastian hagish Dorda for implementing the sort methods. | |
# http://www.blenderartists.org | |
########################################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.handlers.base import BaseHandler | |
from django.test.client import RequestFactory | |
class RequestMock(RequestFactory): | |
def request(self, **request): | |
"Construct a generic request object." | |
request = RequestFactory.request(self, **request) | |
handler = BaseHandler() | |
handler.load_middleware() | |
for middleware_method in handler._request_middleware: |