Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Natay committed Apr 5, 2022
1 parent e99a7b9 commit ee3f316
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion biostar/forum/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from snowpenguin.django.recaptcha2.fields import ReCaptchaField
from snowpenguin.django.recaptcha2.widgets import ReCaptchaWidget
from biostar.accounts.models import User
from biostar.accounts.foms import get_tags_widget
from biostar.accounts.forms import get_tags_widget
from .models import Post, SharedLink
from biostar.forum import models, auth, util

Expand Down
4 changes: 1 addition & 3 deletions biostar/forum/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def join(*args):
# Strict rules applied to post tags
STRICT_TAGS = True

DROPDOWN_TAGS = False
TASK_MODULES = ("biostar.forum.tasks", )

# Enable debug toolbar specific functions
Expand All @@ -172,6 +173,3 @@ def join(*args):
'debug_toolbar',
])
MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware')



2 changes: 2 additions & 0 deletions biostar/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,5 @@ def join(*args):

# Session key to keep track of counts
SESSION_COUNT_KEY = "counts"

DROPDOWN_TAGS = False
1 change: 1 addition & 0 deletions themes/bioconductor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''

DROPDOWN_TAGS = True
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

# Tries to load up secret settings from a predetermined module
Expand Down

0 comments on commit ee3f316

Please sign in to comment.