-----------------
The default URL for PGWUI_Upload looks like
-*https://www.example.com/upload*. The route name is ``upload``.
+*https://www.example.com/upload*.
See the PGWUI_Server documentation for how to configure a different
-route.
+URL.
Development Status
-# Copyright (C) 2018 The Meme Factory, Inc. http://www.meme.com/
+# Copyright (C) 2018, 2020 The Meme Factory, Inc. http://www.karlpinc.com/
# This file is part of PGWUI_Upload.
#
# <http://www.gnu.org/licenses/>.
#
-# Karl O. Pinc <kop@meme.com>
+# Karl O. Pinc <kop@karlpinc.com>
'''Provide a way to configure PGWUI.
'''
-
+PGWUI_COMPONENT = 'pgwui_upload'
DEFAULT_UPLOAD_ROUTE = '/upload'
def includeme(config):
'''Pyramid configuration for PGWUI_Upload
'''
- config.add_route('upload', DEFAULT_UPLOAD_ROUTE)
+ config.add_route(PGWUI_COMPONENT, DEFAULT_UPLOAD_ROUTE)
config.scan()