Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
TPA
Anonymous Ticket Portal
Commits
83157030
Commit
83157030
authored
Feb 11, 2021
by
ViolanteCodes
Browse files
set anonticket/templates/anonticket/ as base dir for templates to allow custom 403 template
parent
87668533
Changes
1
Hide whitespace changes
Inline
Side-by-side
ticketlobby/settings.py
View file @
83157030
...
...
@@ -134,6 +134,10 @@ USE_TZ = True
STATIC_URL
=
'/static/'
STATIC_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'static'
)
# Set a default templates directory to use a custom 403 template.
TEMPLATE_DIR
=
os
.
path
.
join
(
BASE_DIR
,
'anonticket/templates/anonticket'
)
# Gitlab Settings for python-gitlab/gitlab API
# SECURITY WARNING: GitLab credentials.
GITLAB_URL
=
config
(
'GITLAB_URL'
,
default
=
''
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment