🎨 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
|
from IPython import start_ipython
|
||||||
shell_vars = {
|
shell_vars = {
|
||||||
"p": project,
|
"p": project,
|
||||||
|
"asyncio": asyncio,
|
||||||
}
|
}
|
||||||
from traitlets.config.loader import Config
|
from traitlets.config.loader import Config
|
||||||
c = Config()
|
c = Config()
|
||||||
|
|
@ -103,7 +104,6 @@ def createsuperuser(root: str = "."):
|
||||||
print("Auth app not installed! Please add 'ohmyapi_auth' to your INSTALLED_APPS.")
|
print("Auth app not installed! Please add 'ohmyapi_auth' to your INSTALLED_APPS.")
|
||||||
return
|
return
|
||||||
|
|
||||||
import asyncio
|
|
||||||
import ohmyapi_auth
|
import ohmyapi_auth
|
||||||
email = input("E-Mail: ")
|
email = input("E-Mail: ")
|
||||||
username = input("Username: ")
|
username = input("Username: ")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue