django-bootstrap3-datetimepicker icon indicating copy to clipboard operation
django-bootstrap3-datetimepicker copied to clipboard

ImportError: No module named utils

Open catskul opened this issue 10 years ago • 13 comments
trafficstars

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

catskul avatar Feb 04 '15 00:02 catskul

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

`

mullerivan avatar Mar 05 '16 21:03 mullerivan

Same here.

francisjervis avatar Apr 21 '16 00:04 francisjervis

same

PetrVasilev avatar Apr 26 '16 10:04 PetrVasilev

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

I think this change should fix the import error

ghost avatar May 13 '16 13:05 ghost

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

allsyed avatar Jun 14 '16 11:06 allsyed

merge this please.

t-v avatar Aug 16 '16 13:08 t-v

Please merge this

sahina avatar Oct 27 '16 23:10 sahina

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

dima-kov avatar Mar 29 '17 14:03 dima-kov

Still an issue.

saatomic avatar May 10 '17 11:05 saatomic

Still an issue.

blacknail avatar May 20 '17 21:05 blacknail

Still an issue

coler-j avatar Jul 14 '17 15:07 coler-j

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

capinho avatar Jul 19 '17 10:07 capinho

Still an issue

tamhv avatar Jul 24 '17 10:07 tamhv