Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError at / No module named 'widgets' #54

Open
pkaramol opened this issue Apr 1, 2016 · 0 comments
Open

ImportError at / No module named 'widgets' #54

pkaramol opened this issue Apr 1, 2016 · 0 comments

Comments

@pkaramol
Copy link

pkaramol commented Apr 1, 2016

Caused by the lack of relative import of widgets in fields.py (?)

Exception Location: /home/pkaramol/Workspace/virtualenvs/time_ds/venv_p34dj18/lib/python3.4/site-packages/bootstrap3_datepicker/fields.py in <module>, line 3

Using python 3.4.3 in the following venv

Django==1.8.11
django-bootstrap3-datepicker==0.3.1
flake8==2.5.4
mccabe==0.4.0
numexpr==2.5
numpy==1.10.4
pep8==1.7.0
pyflakes==1.0.0
requests==2.9.1
tables==3.2.2

When using relative import (.widgets) another exception occurs:

AttributeError at /
'NoneType' object has no attribute 'replace'

Exception Location: /home/pkaramol/Workspace/virtualenvs/time_ds/venv_p34dj18/lib/python3.4/site-packages/bootstrap3_datepicker/widgets.py in conv_date_format_py2js, line 58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant