Permalink
Browse files

Fix error submitting article caused by extra HTML attribute.

  • Loading branch information...
nathan-osman committed Sep 13, 2016
1 parent 98accf3 commit 0a718ccee8301f28e86791e06159e6ed8a2674b4
Showing with 4 additions and 0 deletions.
  1. +4 −0 twobuntu/articles/forms.py
@@ -8,6 +8,10 @@ class EditorForm(forms.ModelForm):
Form for entering or editing articles.
"""
# The <textarea> needs this set so that the form can validate on the client
# side without any content (due to ACE editor)
use_required_attribute = False
class Meta:
model = Article
fields = ('category', 'title', 'body')

0 comments on commit 0a718cc

Please sign in to comment.