Setup tinymce integration
This commit is contained in:
parent
f012ac057f
commit
28cdd7c3c4
2 changed files with 6 additions and 6 deletions
|
|
@ -60,9 +60,8 @@ INSTALLED_APPS = [
|
||||||
"cms",
|
"cms",
|
||||||
"menus",
|
"menus",
|
||||||
"treebeard",
|
"treebeard",
|
||||||
# "oauth2_provider",
|
|
||||||
# "mfa",
|
|
||||||
"taggit",
|
"taggit",
|
||||||
|
"tinymce",
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|
|
||||||
|
|
@ -13,18 +13,19 @@ Including another URLconf
|
||||||
1. Import the include() function: from django.urls import include, path
|
1. Import the include() function: from django.urls import include, path
|
||||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||||
"""
|
"""
|
||||||
|
from django.conf import settings
|
||||||
|
from django.conf.urls.static import static
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import include, path
|
from django.urls import include, path
|
||||||
|
|
||||||
# from froide_govplan.admin import govplan_admin_site
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path(
|
path(
|
||||||
"follow/",
|
"follow/",
|
||||||
include("froide.follow.urls", namespace="follow"),
|
include("froide.follow.urls", namespace="follow"),
|
||||||
),
|
),
|
||||||
# path("account/", include("froide.account.urls")),
|
|
||||||
] + [
|
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path("", include("cms.urls")),
|
path("", include("cms.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if settings.DEBUG:
|
||||||
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue