diff --git a/example/blog/articles/forms.py b/example/blog/articles/forms.py index b22dfc2..2522493 100644 --- a/example/blog/articles/forms.py +++ b/example/blog/articles/forms.py @@ -2,7 +2,7 @@ from django_ckeditor_5.widgets import CKEditor5Widget -from .models import Comment, Article +from .models import Article, Comment class CommentForm(forms.ModelForm): diff --git a/example/blog/articles/urls.py b/example/blog/articles/urls.py index d64d45b..21f59d4 100644 --- a/example/blog/articles/urls.py +++ b/example/blog/articles/urls.py @@ -1,6 +1,6 @@ from django.urls import path -from .views import ArticleDetailView, ArticleListView, ArticleCreateView, GetEditorView +from .views import ArticleCreateView, ArticleDetailView, ArticleListView, GetEditorView urlpatterns = [ path("", ArticleListView.as_view(), name="article-list"), diff --git a/example/blog/articles/views.py b/example/blog/articles/views.py index 719c161..09b6cab 100644 --- a/example/blog/articles/views.py +++ b/example/blog/articles/views.py @@ -4,7 +4,7 @@ from django.views.generic.detail import DetailView from django.views.generic.list import ListView -from .forms import CommentForm, ArticleForm +from .forms import ArticleForm, CommentForm from .models import Article