Render markdown
This commit is contained in:
parent
8b16fe573c
commit
d5dcfd5fa2
13 changed files with 52 additions and 13 deletions
|
|
@ -69,6 +69,7 @@ THIRD_PARTY_APPS = [
|
|||
"allauth.account",
|
||||
"allauth.socialaccount",
|
||||
"rest_framework",
|
||||
"markdownx",
|
||||
]
|
||||
|
||||
LOCAL_APPS = [
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ from django.views import defaults as default_views
|
|||
|
||||
urlpatterns = [
|
||||
path("", RedirectView.as_view(url=reverse_lazy('renderer:form')), name="home"),
|
||||
path(
|
||||
"about/", TemplateView.as_view(template_name="pages/about.html"), name="about"
|
||||
),
|
||||
# Django Admin, use {% url 'admin:index' %}
|
||||
path(settings.ADMIN_URL, admin.site.urls),
|
||||
# User management
|
||||
path("users/", include("schickmacher.users.urls", namespace="users")),
|
||||
path("renderer/", include("schickmacher.renderer.urls", namespace="renderer")),
|
||||
path("accounts/", include("allauth.urls")),
|
||||
path(r'markdownx/', include('markdownx.urls')),
|
||||
# Your stuff: custom urls includes go here
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue