#35406: Using Django models in function type annotations, without dependency to settings.configure() -------------------------------------+------------------------------------- Reporter: HTErik | Owner: nobody Type: New feature | Status: closed Component: Database layer | Version: 4.2 (models, ORM) | Severity: Normal | Resolution: invalid Keywords: models, typing | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Sarah Boyce):
* resolution: => invalid * status: new => closed Comment: Hi HTErik 👋 I recommend you look into [https://github.com/typeddjango /django-stubs/ django-stubs] for configuring type checking with your Django project If you have issues setting up type annotations on your project, I recommend asking for help on the [https://forum.djangoproject.com/ Django forum]. I'm closing the ticket as I believe it is already possible to do this and any further discussion around typing and Django is covered by #29299. -- Ticket URL: <https://code.djangoproject.com/ticket/35406#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018f20a00c7f-7c01f981-b50b-4b7a-8591-581b565aa59f-000000%40eu-central-1.amazonses.com.