tinymce_6
This commit is contained in:
parent
adc335178b
commit
ca290769ff
4 changed files with 7 additions and 24 deletions
|
|
@ -112,10 +112,10 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
|
||||
|
||||
STUDENT_IMPORT_MAPPING = {
|
||||
'Num élève': 'id_ext',
|
||||
|
|
|
|||
|
|
@ -38,6 +38,5 @@ urlpatterns = [
|
|||
url(r'^module_pdf/(?P<pk>\d+)$', views.ModulePDF.as_view(), name='module-pdf'),
|
||||
url(r'^documents/$', views.DocumentListView.as_view(), name='document-list'),
|
||||
url(r'^document/(?P<pk>\d+)$', views.DocumentDetailView.as_view(), name='document-detail'),
|
||||
url(r'^import/$', views.import_xls_file),
|
||||
url(r'^tinymce/', include('tinymce.urls'), name='tinymce-js'),
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue