Open lscasanova opened 7 years ago
+1
It works with Django 1.9.5 but not with 1.10. Is it maybe https://docs.djangoproject.com/en/1.10/releases/1.10/#django-contrib-staticfiles ?
+1
+1
./manage.py bower_install throws and exception in 1.10 as well
+1
None of the other commands seems to work either: update, info, freeze... (Django 1.10.1)
Running ./manage.py bower_install
produces:
AttributeError: type object 'BaseBowerCommand' has no attribute 'option_list'
using django_bower-5.1.0
and Django-1.10.1
Monkey patching the file djangobower/management/commands/bower_install.py
as follows
if not hasattr(BaseBowerCommand, 'option_list'):
base_opions_list = ()
else:
base_opions_list = BaseBowerCommand.option_list
option_list = base_opions_list + (
make_option('-F', # this line and lines below it are unchanged
action='store_true',
dest='force',
default=False,
help='Force installation of latest package version on conflict'),
)
worked.
PR for this: #69
Fixed through #71.
Tried to do a ./manage.py bower install but the result is
manage.py bower: error: unrecognized arguments: install
if I run ./manage.py bower_install instead, I get:
I first got this error trying to run the project django-scheduler-sample, then tried to run on an empty project created by me in a virtualenv with just django 1.10 and django-bower to no effect.