Skip to content

Commit

Permalink
Update example where using wrong model class
Browse files Browse the repository at this point in the history
Update example where using wrong model class
  • Loading branch information
mativs committed Apr 15, 2015
1 parent 930afef commit 21a064d
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 21a064d

Please sign in to comment.