# Path: mod.py
# def dispatch_module_hook(hook_name, **params):
#     for i in _loaded_modules.values():
#         if hasattr(i, hook_name):
#             try:
#                 getattr(i, hook_name)(**params)
#             except:
#                 print("Cannot invoke module hook: %s.%s" % (i, hook_name))
#                 traceback.print_exc()


from django.conf.urls import url
from django.contrib.auth import views as auth_views
from . import views
from mod import dispatch_module_hook
#!/usr/bin/env python3
#
# Copyright 2016 Red Hat, Inc.
#
# Authors:
#     Fam Zheng <famz@redhat.com>
#
# This work is licensed under the MIT License.  Please see the LICENSE file or
# http://opensource.org/licenses/MIT.


urlpatterns = []
dispatch_module_hook("www_url_hook", urlpatterns=urlpatterns)

urlpatterns += [

# Path: mod.py
# def dispatch_module_hook(hook_name, **params):
#     for i in _loaded_modules.values():
#         if hasattr(i, hook_name):
#             try:
#                 getattr(i, hook_name)(**params)
#             except:
#                 print("Cannot invoke module hook: %s.%s" % (i, hook_name))
#                 traceback.print_exc()


# Path: www/urls.py
from django.conf.urls import url
from django.contrib.auth import views as auth_views
from . import views
from mod import dispatch_module_hook

#!/usr/bin/env python3
#
# Copyright 2016 Red Hat, Inc.
#
# Authors:
#     Fam Zheng <famz@redhat.com>
#
# This work is licensed under the MIT License.  Please see the LICENSE file or
# http://opensource.org/licenses/MIT.


urlpatterns = []
dispatch_module_hook("www_url_hook", urlpatterns=urlpatterns)

urlpatterns += [

    url(