2015-10-19 07:31:21 +00:00
|
|
|
"""Example web views."""
|
|
|
|
|
|
|
|
|
|
|
|
class BaseWebView(object):
|
|
|
|
"""Example base class of web view."""
|
|
|
|
|
|
|
|
def __init__(self, services):
|
|
|
|
"""Initializer.
|
|
|
|
|
|
|
|
:param services: Bundle of service providers
|
2015-11-20 11:46:57 +00:00
|
|
|
:type services: catalogs.Services
|
2015-10-19 07:31:21 +00:00
|
|
|
"""
|
|
|
|
self.services = services
|
|
|
|
|
|
|
|
|
2015-11-20 11:46:57 +00:00
|
|
|
class Auth(BaseWebView):
|
2015-10-19 07:31:21 +00:00
|
|
|
"""Example auth web view."""
|
|
|
|
|
|
|
|
|
2015-11-20 11:46:57 +00:00
|
|
|
class Photos(BaseWebView):
|
2015-10-19 07:31:21 +00:00
|
|
|
"""Example photo processing web view."""
|