Posts by Magnun Leno • 231 points
3 posts
-
0
votes1
answer160
viewsA: Settings for Django-allauth
You probably forgot to include allauth in the project Urls: url(r'^accounts/', include('allauth.urls')),
-
3
votes1
answer118
viewsA: Filter using calculated value does not work in Django
Congratulations, you found a bug in the Django pro Sqlite driver! I played your scenario and had the same behavior: ./manage.py shell Python 3.4.1 (default, Sep 24 2015, 20:41:10) [GCC 4.9.2…
-
7
votes3
answers11827
viewsA: Use list as dictionary value using Python append() method
The method append does not return value, so its key has as value None. The correct way is as follows: >>> dic = {} >>> lista = [] >>> dic['a'] = lista >>>…