🎨 Make asyncio available in shell automatically
This commit is contained in:
parent
97fc689d7d
commit
0ec26895c0
1 changed files with 1 additions and 1 deletions
|
|
@ -49,6 +49,7 @@ def shell(root: str = "."):
|
|||
from IPython import start_ipython
|
||||
shell_vars = {
|
||||
"p": project,
|
||||
"asyncio": asyncio,
|
||||
}
|
||||
from traitlets.config.loader import Config
|
||||
c = Config()
|
||||
|
|
@ -103,7 +104,6 @@ def createsuperuser(root: str = "."):
|
|||
print("Auth app not installed! Please add 'ohmyapi_auth' to your INSTALLED_APPS.")
|
||||
return
|
||||
|
||||
import asyncio
|
||||
import ohmyapi_auth
|
||||
email = input("E-Mail: ")
|
||||
username = input("Username: ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue