Skip to content

Commit

Permalink
Revert changes on content_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Jun 26, 2024
1 parent bf8af49 commit b38fb7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content_manager/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.db import models
from django.forms import widgets
from django.forms.widgets import Textarea
from django.utils.translation import gettext_lazy as _
from modelcluster.fields import ParentalKey
from modelcluster.models import ClusterableModel
Expand Down Expand Up @@ -47,7 +47,7 @@ class MonospaceField(models.TextField):
"""

def formfield(self, **kwargs):
kwargs["widget"] = widgets.Textarea(
kwargs["widget"] = Textarea(
attrs={
"rows": 12,
"class": "monospace",
Expand Down

0 comments on commit b38fb7b

Please sign in to comment.