Patrick Arminio
1 year ago
Failed to extract signature
1 changed files with
1 additions and
1 deletions
-
docs_src/django_orm/tutorial001.py
|
@ -7,7 +7,7 @@ from fastapi import FastAPI |
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") |
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") |
|
|
django.setup() |
|
|
django.setup() |
|
|
|
|
|
|
|
|
from polls.models import Question # noqa: I001 |
|
|
from polls.models import Question # noqa: I001 E402 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app = FastAPI() |
|
|
app = FastAPI() |
|
|