pgadmin4/web/pgadmin/misc/dependents/__init__.py

30 lines
866 B
Python
Raw Normal View History

##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
2019-01-02 04:24:12 -06:00
# Copyright (C) 2013 - 2019, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################
"""A blueprint module providing utility functions for the application."""
2016-06-21 08:12:14 -05:00
from flask import url_for
from pgadmin.utils import PgAdminModule
MODULE_NAME = 'dependents'
class DependentsModule(PgAdminModule):
def get_own_javascripts(self):
return [{
'name': 'pgadmin.browser.dependents',
'path': url_for('dependents.static', filename='js/dependents'),
'when': None
2016-06-21 08:21:06 -05:00
}]
# Initialise the module
blueprint = DependentsModule(MODULE_NAME, __name__,
url_prefix='/misc/dependents')