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
b93eebf1
Commit
b93eebf1
authored
Feb 10, 2021
by
ViolanteCodes
Browse files
added django ratelimit import statement to views.py
parent
4f651248
Changes
1
Hide whitespace changes
Inline
Side-by-side
anonticket/views.py
View file @
b93eebf1
...
...
@@ -16,6 +16,7 @@ from django.contrib.auth.decorators import user_passes_test
from
django.views.generic
import
(
TemplateView
,
DetailView
,
ListView
,
CreateView
,
FormView
,
UpdateView
)
from
django.contrib.admin.views.decorators
import
staff_member_required
from
ratelimit.decorators
import
ratelimit
# ---------------SHARED FUNCTIONS, NON GITLAB---------------------------
# Functions that need to be accessed from within multiple views go here,
...
...
Write
Preview
Markdown
is supported
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