mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
31 lines
910 B
Python
31 lines
910 B
Python
##########################################################################
|
|
#
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
#
|
|
# Copyright (C) 2013 - 2022, 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 = 'dependencies'
|
|
|
|
|
|
class DependenciesModule(PgAdminModule):
|
|
def get_own_javascripts(self):
|
|
return [{
|
|
'name': 'pgadmin.browser.dependencies',
|
|
'path': url_for('dependencies.static',
|
|
filename='js/dependencies'),
|
|
'when': None
|
|
}]
|
|
|
|
|
|
# Initialise the module
|
|
blueprint = DependenciesModule(MODULE_NAME, __name__,
|
|
url_prefix='/misc/dependencies')
|