-
-
Save viksit/27ff99d30ac493ba4d66 to your computer and use it in GitHub Desktop.
This file contains 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.http import HttpResponse | |
from django.views.generic.base import View | |
from clamp import ClampProxyMaker | |
import java | |
from java.io import Serializable | |
from java.util.concurrent import Callable | |
class MyBaseView(View, Callable, Serializable): | |
__proxymaker__ = ClampProxyMaker("MyBaseView") | |
def get(self, request): | |
return HttpResponse("base view from class") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment