Closed GoogleCodeExporter closed 8 years ago
Here's a patch to fix it
Index: tests/django_test/views.py
===================================================================
--- tests/django_test/views.py (revision 25)
+++ tests/django_test/views.py (working copy)
@@ -1,4 +1,4 @@
-from django import newforms as forms
+from django import forms as forms
from django.shortcuts import render_to_response, get_object_or_404
from money.contrib.django.forms.fields import MoneyField
from money import Money
Index: money/contrib/django/forms/fields.py
===================================================================
--- money/contrib/django/forms/fields.py (revision 25)
+++ money/contrib/django/forms/fields.py (working copy)
@@ -1,5 +1,5 @@
from django.utils.translation import ugettext_lazy as _
-from django import newforms as forms
+from django import forms as forms
from widgets import InputMoneyWidget
from money import Money, CURRENCY
Index: money/contrib/django/forms/widgets.py
===================================================================
--- money/contrib/django/forms/widgets.py (revision 25)
+++ money/contrib/django/forms/widgets.py (working copy)
@@ -1,4 +1,4 @@
-from django import newforms as forms
+from django import forms as forms
from money import Money, CURRENCY
from decimal import Decimal
Original comment by grossand...@gmail.com
on 25 Aug 2009 at 9:41
Attachments:
Original comment by ben.coug...@gmail.com
on 14 May 2011 at 3:28
Committed patch as above
Original comment by ben.coug...@gmail.com
on 14 May 2011 at 4:29
Original issue reported on code.google.com by
grossand...@gmail.com
on 25 Aug 2009 at 9:36