code: def route(view, endpoint=None, methods=None, defaults=None, **options):
      
      if not endpoint:
          endpoint = view
      if not methods:
          methods = ['GET']
      return dict(
          view_func=LazyView(view),
          endpoint=endpoint,
          methods=methods,
          defaults=defaults,
          **options
      )
docs: Route: a shorthand for route declaration
      Import and use it in your app.urls file by calling:
          url['/path/to/view'] = route('module.views.view', 'route_name')