Carel

Results 14 comments of Carel

I'm fine with the project level not being checked (I rather expected that) but if I wipe the DB, resync sitetrees and start the server again and I still get...

Do you mean I should interrogate the model directly through the shell ? (I'm not sure what you mean by `sitetree_items`)

So interrogating the model from the shell gives me the two items I specified in `APPLICATION/sitetrees.py`, I have now removed `website/sitetree.py`, wiped the database, migrated, and re-synchronized sitetrees. >>> from...

So if I create a PyCharm configuration from the provided PyTest template (Run/Debug > Python tests > pytest) and populate it as follows : ![pycharm_pytest](https://user-images.githubusercontent.com/322018/57219745-60052300-6ff9-11e9-825e-cc4ae92cc8b0.png) Then `PyTest-Odoo` errors out with...

Dear Ms. Cochrane, The main idea here is that some one using your package can pull the test suite and run it against whatever database they are using. Providing a...

The initial error was due to the create statement for the table in SQL; I hadn't set an index upon the table, Doing so resolved my original issue now I...

The Flask-Admin instance retains some internal state when it is initiated, in some cases when running the unit tests and instantiating Flask-Admin outside of the application factory I have encountered...

If one cracks open the code one finds the following for the create application method def get_app( database_uri, exclude_tables=None, user_models=None, reflect_all=True, read_only=False, schema=None): """...""" app = Flask('sandman2') app.config['SQLALCHEMY_DATABASE_URI'] = database_uri...

@zeluspudding My example above was meant to illustrate that forcing a security solution upon the user is unnecessary and that, with minor refactoring of the code, it becomes trivial for...

@ibstelix I presently have a similar need, my [fork](https://github.com/manaikan/sandman2), and associated PR, refactor Sandman 2 into a structure that might be easier to hack upon. The ``SQLAclhemy`` invocation under the...