🎨 Make asyncio available in shell automatically

This commit is contained in:
Brian Wiborg 2025-09-27 17:00:53 +02:00
parent 97fc689d7d
commit 0ec26895c0
No known key found for this signature in database

View file

@ -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: ")