mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-27 11:10:19 -06:00
30 lines
866 B
Python
30 lines
866 B
Python
##########################################################################
|
|
#
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
#
|
|
# 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."""
|
|
|
|
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
|
|
}]
|
|
|
|
|
|
# Initialise the module
|
|
blueprint = DependentsModule(MODULE_NAME, __name__,
|
|
url_prefix='/misc/dependents')
|