Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Fix script. Add commands and a Sub-Manager #335

Closed
wants to merge 2 commits into from
Closed

Fix script. Add commands and a Sub-Manager #335

wants to merge 2 commits into from

Conversation

fmerges
Copy link

@fmerges fmerges commented Nov 5, 2014

I noticed script.py, not sure if this is deprecated or still in use...

Having the sub-manager will allow to do something like this in your main manage.py:

from flask.ext.security.script import manager as security_manager
manager.add_command('security', security_manager)

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.52%) when pulling c59af85 on fmerges:develop into c7d0ea9 on mattupstate:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.52%) when pulling ffb66ae on fmerges:develop into c7d0ea9 on mattupstate:develop.

@mattupstate
Copy link
Collaborator

This could potentially break things for existing users. Additionally, I'd like to revisit the commands when Flask ships with its new CLI tools.

@mattupstate mattupstate closed this May 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants