Skip to content

Commit

Permalink
Merge pull request #357 from mativs/patch-1
Browse files Browse the repository at this point in the history
Documentation: Update example where using wrong model class
  • Loading branch information
darklow committed Apr 22, 2015
2 parents 930afef + 21a064d commit a062e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Date/Time widgets
from django.forms import ModelForm
from suit.widgets import SuitDateWidget, SuitTimeWidget, SuitSplitDateTimeWidget

class UserChangeForm(UserChangeForm):
class UserChangeForm(ModelForm):
class Meta:
model = User
widgets = {
Expand Down

0 comments on commit a062e9f

Please sign in to comment.