mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Replace md editor with ckeditor
This commit is contained in:
@@ -8,7 +8,7 @@ from django.shortcuts import render
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
from django.core.paginator import Paginator, PageNotAnInteger
|
||||
|
||||
from portal.utils import get_site_conf, markdown_uploader
|
||||
from portal.utils import get_site_conf
|
||||
from portal.models import Flatpage
|
||||
from roster.models import RollingStock
|
||||
from consist.models import Consist
|
||||
@@ -259,8 +259,3 @@ class GetFlatpage(View):
|
||||
"flatpage.html",
|
||||
{"flatpage": flatpage},
|
||||
)
|
||||
|
||||
|
||||
class MDUploader(View):
|
||||
def post(self, request):
|
||||
return markdown_uploader(request)
|
||||
|
Reference in New Issue
Block a user