overholt
overholt copied to clipboard
Making overholt work with recent dependencies
- update of tests
- adjust model factories to new Factory-Boy
- enable login system for recent Flask-Login (disabled by default for tests)
- obtain CSRF token from login form using Flask-Fillin (old method didn't work anymore)
- update of forms imports for new wtf
- update all dependencies
@arnuschky Thanks for taking the time to do this. My only criticism is that flask.ext is going to be deprecated. There's no reason to use it.
@mattupstate, why you say flask.ext is going to be deprecated? I see http://flask.pocoo.org/docs/extensiondev/#extension-import-transition says it's ok.
@peterdemin mitsuhiko/flask#1085
Ah really? I thought it's the other way 'round. :) Will fix it tonight.
I tested this, but none of the release version of the different flask extensions used by overholt seem to support this. It's a recent change, I guess we have to wait for it to trickle down. (flask-security is among them, btw)
@arnuschky I'm sorry, but I'm not sure I understand. I use flask_<extension_name> in all my projects.
Ah, I misunderstood, sorry. I thought that it changes to flask_ext.<extension_name>. Works now.
Rebased previous commits, removed accidentally committed changes to config files.