nkunihiko / django-bootstrap3-datetimepicker

Apache License 2.0
119 stars 154 forks source link

ImportError: No module named utils #33

Open catskul opened 9 years ago

catskul commented 9 years ago

Tests now failing with:

  File "/home/shippable/build_ve/python/2.7/src/django-bootstrap3-datetimepicker/bootstrap3_datetime/widgets.py", line 2, in <module>
    from django.forms.utils import flatatt
ImportError: No module named utils

Introduced here:

https://github.com/nkunihiko/django-bootstrap3-datetimepicker/commit/4e2fa200058820b301b161844e5a012863c80f0b

Fixable with PR https://github.com/nkunihiko/django-bootstrap3-datetimepicker/pull/35, or https://github.com/nkunihiko/django-bootstrap3-datetimepicker/pull/34

mullerivan commented 8 years ago

i have the same problem...

File "/vagrant/src/project/app/cloudcheck/forms/myForm.py", line 7, in from bootstrap3_datetime.widgets import DateTimePicker File "/vagrant/eggs/django_bootstrap3_datetimepicker-2.2.3-py2.7.egg/bootstrap3_datetime/widgets.py", line 2, in from django.forms.util import flatatt

`

francisjervis commented 8 years ago

Same here.

PetrVasilev commented 8 years ago

same

ghost commented 8 years ago

Django 1.9 renamed "django.forms.util" to "django.forms.utils"

I think this change should fix the import error

allsyed commented 8 years ago

env_name\Lib\site-packages\bootstrap3_datetime\widgets.py on windows , Add s after util. It should work perfectly

t-v commented 8 years ago

merge this please.

sahina commented 8 years ago

Please merge this

dima-kov commented 7 years ago

The problem is still open! @nkunihiko Merge it, please!

saatomic commented 7 years ago

Still an issue.

blacknail commented 7 years ago

Still an issue.

coler-j commented 7 years ago

Still an issue

capinho commented 7 years ago

in the terminal type pip install django-bootstrap3-datetimepicker-2

tamhv commented 7 years ago

Still an issue