blob: 61fbece959744c0c49069de8f6d723d2e82418b5 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
 | # coding=utf-8
from pysite.base_route import APIView
from pysite.constants import ErrorCodes
class IndexView(APIView):
    path = "/"
    name = "index"
    def get(self):
        return self.error(ErrorCodes.unknown_route)
 |