Browse Source

Fix lint

pull/11782/head
Patrick Arminio 1 year ago
parent
commit
3768b3c01e
Failed to extract signature
  1. 2
      docs_src/django_orm/tutorial001.py

2
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()

Loading…
Cancel
Save