Mercurial > p > roundup > code
view frontends/wsgi.py @ 7971:fe0348bbe45b
issue2551353 - Add roundup-classhelper for 2.4.0 release
Changes to the classic template are not done yet. Still testing.
This commit has document updates and changes to rest.py.
rest.py:
add /rest/data/user/role endpoint to core so the user doesn't have
to add the /rest/roles endpoint via interfaces.py. It will only send
roles for a user with Admin role and there is no way to override
this currently.
acknowledgements.txt:
Added members of team3 to other contributors. Specified for all
other contributes what they worked on.
upgrading.txt:
added classhelper section and basic template change
directions. Linked to admin_guide for full directions.
admin_guide.txt:
documented install, translation, troubleshooting, config etc.
user_guide.txt:
added section on using the classhelper. Added reference to section
earlier in the doc. Added image for section.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 21 May 2024 01:17:28 -0400 |
| parents | 285d9adfefdb |
| children |
line wrap: on
line source
# If you installed roundup to the system locations # using pip you don't need to change this # section. If you installed roundup in a custom # location, uncomment these lines and change the # path in the append() method to your custom path. #import sys #sys.path.append('/custom/location/where/roundup/is/installed') # Obtain the WSGI request dispatcher from roundup.cgi.wsgi_handler import RequestDispatcher # Set the path to tracker home. tracker_home = '/path/to/tracker' # Enable the feature flag to speed up wsgi response by caching the # Roundup tracker instance on startup. See upgrading.txt for # more info. feature_flags = { "cache_tracker": "" } # Definition signature for app: app(environ, start_response): # If using apache mod_wsgi change app to application. app = RequestDispatcher(tracker_home, feature_flags=feature_flags)
