Skip to content

Commit

Permalink
LANGUAGES and VERIFICATIONS removed
Browse files Browse the repository at this point in the history
  • Loading branch information
lnxpy committed Mar 23, 2022
1 parent 05ef2b3 commit 4faf75d
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions main/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,9 @@
that are beings used in the main application
'''

from django.utils.translation import gettext as _


# lang choices for Snippet.lang
LANGUAGES = (
('arduino', 'Arduino'), # + icon
('bash', 'Bash'), # + icon
('c', 'C'), # + icon
('cpp', 'C++'), # + icon
('csharp', 'C#'), # + icon
('css', 'CSS'), # + icon
('dart', 'Dart'), # + icon
('docker', 'DockerFile'), # + icon
('docker-compose', 'DockerCompose'), # + icon (same as docker.svg)
('go', 'Go'), # + icon
('html', 'HTML'), # + icon
('java', 'Java'), # + icon
('js', 'JavaScript'), # + icon
('json', 'JSON'), # + icon
('lua', 'Lua'), # + icon
('md', 'markdown'), # + icon
('mysql', 'MySQL'), # + icon
('php', 'PHP'), # + icon
('python', 'Python'), # + icon
('rb', 'Ruby'), # + icon
)

# verification choices for Ticket
# and Comment is_verified
VERIFICATIONS = (
('rejected', _('Reject')),
('approved', _('Approve')),
('pending', _('Pending')),
)

# ReDoc description
REDOC_DESCRIPTION = '''
Codehub provides users/devs multiple RESTful API services. This RESTful service
allows developers to work with CodeHub Web Services on any platform and machine.
Make sure you follow the documentation and observe all conditions and requirements.
'''
'''

0 comments on commit 4faf75d

Please sign in to comment.