Skip to content

Commit

Permalink
fix code style ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
hvlads committed Mar 2, 2024
1 parent c7936ee commit 6a09251
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/blog/articles/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion example/blog/articles/urls.py
Original file line number Diff line number Diff line change
@@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion example/blog/articles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 6a09251

Please sign in to comment.