timonweb / django-bulma

Bulma theme for Django
MIT License
341 stars 58 forks source link

login template is not working #3

Closed julbrs closed 7 years ago

julbrs commented 7 years ago

I am using django 1.11.5 with python 3.5.3

When going on the /login url that is using the registration/login.html I have the following error:

'dict' object has no attribute 'flatten'

It seems to be linked to context = context.flatten() in bulma_tags.py

My context seems ok ?

Variable Value
context {'classes': {'label': '', 'single_value': '', 'value': ''}, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>}
timonweb commented 7 years ago

Fixed, pls check and close if it's fine now. I've also pushed 0.0.3 to PYPI with the fix and bulma upgrade to 0.6.0

julbrs commented 7 years ago

Good thanks :+1: Just need to have a base.html template at root level but I am ok with that,