You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the demo video is offline, I thought I'd have a look at the example code.
Well, the example is broken on both python2 (2.7.17) and python3 (3.7.5) during the syncdb step:
On python3: AttributeError: module 'django.conf.global_settings' has no attribute 'TEMPLATE_CONTEXT_PROCESSORS'
and when it's commented out we reach a different error.
On python2:
Same problem with TEMPLATE_CONTEXT_PROCESSORS
then cannot import name 'curry' from 'django.utils.functional
at which point I gave up.
At some point I also got ImportError: cannot import name ConcurrentTransition but never got it to work i nthe end :(
The commands I've done are straight from the documentation, on Fedora 30:
$ git clone [email protected]:gadventures/django-fsm-admin.git
$ cd django-fsm-admin
$ mkvirtualenv fsm_admin
$ pip install -r requirements.txt
$ python setup.py develop
$ cd example
$ python manage.py syncdb ← failed here
$ python manage.py runserver ← didn't try that line
Note: mkvirtualenv defaults to python3, to use python2 I added: --python python2
https://github.com/gadventures/django-fsm-admin#try-the-example
Here's what I did:
Tried with
Python 3.5.1
Note that it works with
Python 2.7.11
;)As you can see, path to
setup.py
is wrong in the listed commands ;)The text was updated successfully, but these errors were encountered: