Merge pull request #6053 from jangsutsr/named_url

Named URL
This commit is contained in:
Aaron Tan
2017-05-31 17:02:42 -04:00
committed by GitHub
15 changed files with 944 additions and 6 deletions

View File

@@ -131,6 +131,9 @@ LOCALE_PATHS = (
os.path.join(BASE_DIR, 'locale'),
)
# Graph of resources that can have named-url
NAMED_URL_GRAPH = {}
# Maximum number of the same job that can be waiting to run when launching from scheduler
# Note: This setting may be overridden by database settings.
SCHEDULE_MAX_JOBS = 10
@@ -209,6 +212,7 @@ MIDDLEWARE_CLASSES = ( # NOQA
'awx.sso.middleware.SocialAuthMiddleware',
'crum.CurrentRequestUserMiddleware',
'awx.main.middleware.AuthTokenTimeoutMiddleware',
'awx.main.middleware.URLModificationMiddleware',
)
TEMPLATE_DIRS = (