mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add fetch function for DSI
This commit is contained in:
@ -586,3 +586,8 @@ if DEBUG:
|
||||
SASS_INCLUDE_FOLDERS = [
|
||||
'core/static/',
|
||||
]
|
||||
|
||||
# Mailing related settings
|
||||
|
||||
SITH_MAILING_ALLOWED_DOMAIN = 'utbm.fr'
|
||||
SITH_MAILING_FETCH_KEY = 'IloveMails'
|
||||
|
@ -43,6 +43,7 @@ from django.conf.urls.static import static
|
||||
from django.conf import settings
|
||||
from django.views.i18n import javascript_catalog
|
||||
from ajax_select import urls as ajax_select_urls
|
||||
from club.views import MailingFetchView
|
||||
|
||||
js_info_dict = {
|
||||
'packages': ('sith',),
|
||||
@ -72,6 +73,8 @@ urlpatterns = [
|
||||
url(r'^ajax_select/', include(ajax_select_urls)),
|
||||
url(r'^i18n/', include('django.conf.urls.i18n')),
|
||||
url(r'^jsi18n/$', javascript_catalog, js_info_dict, name='javascript-catalog'),
|
||||
# This url is for legacy use
|
||||
url(r'^mailing.php$', MailingFetchView.as_view(), name='mailing_fetch_legacy'),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
|
Reference in New Issue
Block a user