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
6fb46d7c
Commit
6fb46d7c
authored
Feb 11, 2021
by
ViolanteCodes
Browse files
added configuration settings for Django Ratelimit to settings.py
parent
40eb2393
Changes
1
Hide whitespace changes
Inline
Side-by-side
ticketlobby/settings.py
View file @
6fb46d7c
...
...
@@ -140,8 +140,10 @@ GITLAB_URL = config('GITLAB_URL', default='')
GITLAB_SECRET_TOKEN
=
config
(
'GITLAB_SECRET_TOKEN'
,
default
=
''
)
GITLAB_ACCOUNTS_SECRET_TOKEN
=
config
(
'GITLAB_ACCOUNTS_SECRET_TOKEN'
,
default
=
''
)
# Configuration settings for Django Ratelimit
MAIN_RATE_GROUP
=
config
(
'MAIN_RATE_GROUP'
,
default
=
''
)
LIMIT_RATE
=
config
(
'LIMIT_RATE'
,
default
=
'100/m'
)
# Wordlist Settings for generating wordlist
WORD_LIST_PATH
=
os
.
path
.
join
(
BASE_DIR
,
'shared/wordlist.txt'
)
DICE_ROLLS
=
6
\ No newline at end of file
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