diff --git a/SciPost_v1/settings.py b/SciPost_v1/settings.py index d5c8742e915ba35c005135c0efaf6ca97799e06a..3989f5c1e1d3508141df74283c6046ff7ad46e3a 100644 --- a/SciPost_v1/settings.py +++ b/SciPost_v1/settings.py @@ -69,6 +69,7 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.staticfiles', 'django_countries', + 'django_extensions', 'django_mathjax', 'captcha', 'crispy_forms', @@ -101,6 +102,11 @@ CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.math_challenge' CAPTCHA_LETTER_ROTATION = (-15, 15) CAPTCHA_NOISE_FUNCTIONS = ('captcha.helpers.noise_dots',) +SHELL_PLUS_POST_IMPORTS = ( + ('theses.factories', ('ThesisLinkFactory')), + ('comments.factories', 'CommentFactory'), +) + MATHJAX_ENABLED = True MATHJAX_CONFIG_DATA = { "tex2jax": {