#4241 (belref fails with react front end)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
Children
Kommentaarid
- 5 aastat, 3 kuud ago by Luc Saffre about #4241 (belref fails with react front end) : There are no dynamic language selector buttons yet in react (see user_language in middleware)
- 5 aastat, 3 kuud ago by Luc Saffre about #4241 (belref fails with react front end) : Not only the users plugin but also the content_type plugin is optional. React render should support the case of not having contenttypes. It would simply never send the mt url parameter.
- 5 aastat, 3 kuud ago by Sharif Mehedi about #4241 (belref fails with react front end) : React now understands no_user_model (SITE.user_model = None).
- 5 aastat, 3 kuud ago by Luc Saffre about #4241 (belref fails with react front end) : How to reproduce: In book/lino_book/projects/belref/settings/demo.py file, change the default_ui from "lino.modlib.bootstrap3" to react.
- 5 aastat, 3 kuud ago by Luc Saffre about #4241 (belref fails with react front end) : It's probably because in belref there is settings.SITE.no user_model, ie no way to log in. Everybody is an AnonymousUser. But AnonymousUser does have a user_type field, so it should work.