Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

aa.gusti / opensipkd-base

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • opensipkd-base
  • opensipkd
  • base
  • views
  • routes.py
  • aa.gusti's avatar
    Perubahan paging detable · ea1dafe2
    aa.gusti committed Dec 06, 2024
    ea1dafe2 Browse Files
routes.py 465 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import colander

from opensipkd.base.views import BaseView
from opensipkd.base.views.user import AddSchema


class AddSchema(colander.Schema):
    test = colander.SchemaNode(colander.String())


class Views(BaseView):
    def __init__(self, request):
        super().__init__(request)
        self.add_schema = AddSchema

    def view_reports(self):
        c
        return super().view_add()

    def view_report(self):
        c
        return super().view_add()