From 96cd3ddb2741495418bdd8e8b00a2c80f6e5454c Mon Sep 17 00:00:00 2001 From: Maxim Kurnikov Date: Sat, 10 Nov 2018 17:49:18 +0300 Subject: [PATCH] move generated stubs to separate directory, too messty --- .../__init__.pyi | 0 .../apps/__init__.pyi | 0 .../apps/config.pyi | 0 .../apps/registry.pyi | 0 .../conf/__init__.pyi | 0 .../conf/urls/__init__.pyi | 0 .../conf/urls/i18n.pyi | 0 .../conf/urls/static.pyi | 0 .../contrib/__init__.pyi | 0 .../contrib/admin/__init__.pyi | 0 .../contrib/admin/actions.pyi | 0 .../contrib/admin/apps.pyi | 0 .../contrib/admin/checks.pyi | 0 .../contrib/admin/decorators.pyi | 0 .../contrib/admin/filters.pyi | 0 .../contrib/admin/forms.pyi | 0 .../contrib/admin/helpers.pyi | 0 .../contrib/admin/models.pyi | 0 .../contrib/admin/options.pyi | 0 .../contrib/admin/sites.pyi | 0 .../contrib/admin/templatetags/__init__.pyi | 0 .../contrib/admin/templatetags/admin_list.pyi | 0 .../admin/templatetags/admin_modify.pyi | 0 .../admin/templatetags/admin_static.pyi | 0 .../contrib/admin/templatetags/admin_urls.pyi | 0 .../contrib/admin/templatetags/base.pyi | 0 .../contrib/admin/templatetags/log.pyi | 0 .../contrib/admin/utils.pyi | 0 .../contrib/admin/views/__init__.pyi | 0 .../contrib/admin/views/autocomplete.pyi | 0 .../contrib/admin/views/decorators.pyi | 0 .../contrib/admin/views/main.pyi | 0 .../contrib/admin/widgets.pyi | 0 .../contrib/admindocs/__init__.pyi | 0 .../contrib/admindocs/middleware.pyi | 0 .../contrib/admindocs/utils.pyi | 0 .../contrib/admindocs/views.pyi | 0 .../contrib/auth/__init__.pyi | 0 .../contrib/auth/admin.pyi | 0 .../contrib/auth/apps.pyi | 0 .../contrib/auth/backends.pyi | 0 .../contrib/auth/base_user.pyi | 0 .../contrib/auth/checks.pyi | 0 .../contrib/auth/context_processors.pyi | 0 .../contrib/auth/decorators.pyi | 0 .../contrib/auth/forms.pyi | 0 .../contrib/auth/handlers/__init__.pyi | 0 .../contrib/auth/handlers/modwsgi.pyi | 0 .../contrib/auth/hashers.pyi | 0 .../contrib/auth/management/__init__.pyi | 0 .../auth/management/commands/__init__.pyi | 0 .../management/commands/changepassword.pyi | 0 .../management/commands/createsuperuser.pyi | 0 .../contrib/auth/middleware.pyi | 0 .../contrib/auth/mixins.pyi | 0 .../contrib/auth/models.pyi | 0 .../contrib/auth/password_validation.pyi | 0 .../contrib/auth/tokens.pyi | 0 .../contrib/auth/views.pyi | 0 .../contrib/contenttypes/__init__.pyi | 0 .../contrib/contenttypes/admin.pyi | 0 .../contrib/contenttypes/apps.pyi | 0 .../contrib/contenttypes/checks.pyi | 0 .../contrib/contenttypes/fields.pyi | 0 .../contrib/contenttypes/forms.pyi | 0 .../contenttypes/management/__init__.pyi | 0 .../management/commands/__init__.pyi | 0 .../commands/remove_stale_contenttypes.pyi | 0 .../contrib/contenttypes/models.pyi | 0 .../contrib/contenttypes/views.pyi | 0 .../contrib/flatpages/__init__.pyi | 0 .../contrib/flatpages/forms.pyi | 0 .../contrib/flatpages/middleware.pyi | 0 .../contrib/flatpages/models.pyi | 0 .../contrib/flatpages/sitemaps.pyi | 0 .../flatpages/templatetags/__init__.pyi | 0 .../flatpages/templatetags/flatpages.pyi | 0 .../contrib/flatpages/views.pyi | 0 .../contrib/humanize/__init__.pyi | 0 .../humanize/templatetags/__init__.pyi | 0 .../humanize/templatetags/humanize.pyi | 0 .../contrib/messages/__init__.pyi | 0 .../contrib/messages/api.pyi | 0 .../contrib/messages/context_processors.pyi | 0 .../contrib/messages/middleware.pyi | 0 .../contrib/messages/storage/__init__.pyi | 0 .../contrib/messages/storage/base.pyi | 0 .../contrib/messages/storage/cookie.pyi | 0 .../contrib/messages/storage/fallback.pyi | 0 .../contrib/messages/storage/session.pyi | 0 .../contrib/messages/utils.pyi | 0 .../contrib/messages/views.pyi | 0 .../contrib/postgres/__init__.pyi | 0 .../contrib/postgres/fields/__init__.pyi | 0 .../contrib/postgres/fields/array.pyi | 10 +++++--- .../contrib/postgres/fields/jsonb.pyi | 0 .../contrib/postgres/fields/mixins.pyi | 0 .../contrib/postgres/fields/ranges.pyi | 0 .../contrib/postgres/operations.pyi | 0 .../contrib/redirects/__init__.pyi | 0 .../contrib/redirects/middleware.pyi | 0 .../contrib/redirects/models.pyi | 0 .../contrib/sessions/__init__.pyi | 0 .../contrib/sessions/backends/__init__.pyi | 0 .../contrib/sessions/backends/base.pyi | 0 .../contrib/sessions/backends/cache.pyi | 0 .../contrib/sessions/backends/cached_db.pyi | 0 .../contrib/sessions/backends/db.pyi | 0 .../contrib/sessions/backends/file.pyi | 0 .../sessions/backends/signed_cookies.pyi | 0 .../contrib/sessions/base_session.pyi | 0 .../contrib/sessions/management/__init__.pyi | 0 .../sessions/management/commands/__init__.pyi | 0 .../management/commands/clearsessions.pyi | 0 .../contrib/sessions/middleware.pyi | 0 .../contrib/sessions/models.pyi | 0 .../contrib/sessions/serializers.pyi | 0 .../contrib/sitemaps/__init__.pyi | 0 .../contrib/sitemaps/management/__init__.pyi | 0 .../sitemaps/management/commands/__init__.pyi | 0 .../management/commands/ping_google.pyi | 0 .../contrib/sitemaps/views.pyi | 0 .../contrib/sites/__init__.pyi | 0 .../contrib/sites/apps.pyi | 0 .../contrib/sites/management.pyi | 0 .../contrib/sites/managers.pyi | 0 .../contrib/sites/middleware.pyi | 0 .../contrib/sites/models.pyi | 0 .../contrib/sites/requests.pyi | 0 .../contrib/sites/shortcuts.pyi | 0 .../contrib/staticfiles/__init__.pyi | 0 .../contrib/staticfiles/apps.pyi | 0 .../contrib/staticfiles/checks.pyi | 0 .../contrib/staticfiles/finders.pyi | 0 .../contrib/staticfiles/handlers.pyi | 0 .../staticfiles/management/__init__.pyi | 0 .../management/commands/__init__.pyi | 0 .../management/commands/collectstatic.pyi | 0 .../management/commands/findstatic.pyi | 0 .../management/commands/runserver.pyi | 0 .../contrib/staticfiles/storage.pyi | 0 .../staticfiles/templatetags/__init__.pyi | 0 .../staticfiles/templatetags/staticfiles.pyi | 0 .../contrib/staticfiles/urls.pyi | 0 .../contrib/staticfiles/utils.pyi | 0 .../contrib/staticfiles/views.pyi | 0 .../contrib/syndication/__init__.pyi | 0 .../contrib/syndication/views.pyi | 0 .../core/__init__.pyi | 0 .../core/cache/__init__.pyi | 0 .../core/cache/backends/__init__.pyi | 0 .../core/cache/backends/base.pyi | 0 .../core/cache/backends/db.pyi | 0 .../core/cache/backends/dummy.pyi | 0 .../core/cache/backends/filebased.pyi | 0 .../core/cache/backends/locmem.pyi | 0 .../core/cache/utils.pyi | 0 .../core/checks/__init__.pyi | 0 .../core/checks/caches.pyi | 0 .../core/checks/database.pyi | 0 .../core/checks/messages.pyi | 4 ++-- .../core/checks/model_checks.pyi | 0 .../core/checks/registry.pyi | 0 .../core/checks/security/__init__.pyi | 0 .../core/checks/security/base.pyi | 0 .../core/checks/security/csrf.pyi | 0 .../core/checks/security/sessions.pyi | 0 .../core/checks/templates.pyi | 0 .../core/checks/urls.pyi | 0 .../core/exceptions.pyi | 0 .../core/files/__init__.pyi | 0 .../core/files/base.pyi | 5 ++-- .../core/files/images.pyi | 4 ++-- .../core/files/locks.pyi | 0 .../core/files/move.pyi | 0 .../core/files/storage.pyi | 0 .../core/files/uploadedfile.pyi | 0 .../core/files/uploadhandler.pyi | 0 .../core/files/utils.pyi | 0 .../core/handlers/__init__.pyi | 0 .../core/handlers/base.pyi | 0 .../core/handlers/exception.pyi | 0 .../core/handlers/wsgi.pyi | 0 .../core/mail/__init__.pyi | 0 .../core/mail/backends/__init__.pyi | 0 .../core/mail/backends/base.pyi | 0 .../core/mail/backends/console.pyi | 0 .../core/mail/backends/dummy.pyi | 0 .../core/mail/backends/filebased.pyi | 0 .../core/mail/backends/locmem.pyi | 0 .../core/mail/backends/smtp.pyi | 0 .../core/mail/message.pyi | 0 .../core/mail/utils.pyi | 0 .../core/management/__init__.pyi | 0 .../core/management/base.pyi | 0 .../core/management/color.pyi | 0 .../core/management/commands/__init__.pyi | 0 .../core/management/commands/check.pyi | 0 .../management/commands/compilemessages.pyi | 0 .../management/commands/createcachetable.pyi | 0 .../core/management/commands/dumpdata.pyi | 0 .../core/management/commands/flush.pyi | 0 .../core/management/commands/inspectdb.pyi | 0 .../core/management/commands/loaddata.pyi | 0 .../core/management/commands/makemessages.pyi | 0 .../management/commands/makemigrations.pyi | 0 .../core/management/commands/migrate.pyi | 0 .../core/management/commands/runserver.pyi | 0 .../management/commands/sendtestemail.pyi | 0 .../core/management/commands/shell.pyi | 0 .../management/commands/showmigrations.pyi | 0 .../core/management/commands/sqlmigrate.pyi | 0 .../management/commands/squashmigrations.pyi | 0 .../core/management/commands/test.pyi | 0 .../core/management/commands/testserver.pyi | 0 .../core/management/sql.pyi | 0 .../core/management/templates.pyi | 0 .../core/management/utils.pyi | 0 .../core/paginator.pyi | 0 .../core/serializers/__init__.pyi | 0 .../core/serializers/base.pyi | 0 .../core/serializers/json.pyi | 0 .../core/serializers/python.pyi | 0 .../core/serializers/pyyaml.pyi | 0 .../core/serializers/xml_serializer.pyi | 0 .../core/servers/__init__.pyi | 0 .../core/servers/basehttp.pyi | 11 +++++---- .../core/signing.pyi | 0 .../core/validators.pyi | 0 .../core/wsgi.pyi | 0 .../db/__init__.pyi | 1 - .../db/backends/__init__.pyi | 0 .../db/backends/base/__init__.pyi | 0 .../db/backends/base/base.pyi | 0 .../db/backends/base/client.pyi | 0 .../db/backends/base/creation.pyi | 0 .../db/backends/base/features.pyi | 0 .../db/backends/base/introspection.pyi | 0 .../db/backends/base/operations.pyi | 0 .../db/backends/base/schema.pyi | 0 .../db/backends/base/validation.pyi | 0 .../db/backends/ddl_references.pyi | 6 ++--- .../db/backends/dummy/__init__.pyi | 0 .../db/backends/dummy/base.pyi | 0 .../db/backends/mysql/__init__.pyi | 0 .../db/backends/mysql/client.pyi | 0 .../db/backends/postgresql/__init__.pyi | 0 .../db/backends/postgresql/client.pyi | 0 .../db/backends/sqlite3/__init__.pyi | 0 .../db/backends/sqlite3/base.pyi | 17 +++++++------- .../db/backends/sqlite3/creation.pyi | 0 .../db/backends/sqlite3/features.pyi | 0 .../db/backends/sqlite3/introspection.pyi | 0 .../db/backends/sqlite3/operations.pyi | 0 .../db/backends/sqlite3/schema.pyi | 0 .../db/backends/utils.pyi | 0 .../db/migrations/__init__.pyi | 0 .../db/migrations/autodetector.pyi | 0 .../db/migrations/exceptions.pyi | 0 .../db/migrations/executor.pyi | 0 .../db/migrations/graph.pyi | 0 .../db/migrations/loader.pyi | 0 .../db/migrations/migration.pyi | 4 +--- .../db/migrations/operations/__init__.pyi | 0 .../db/migrations/operations/base.pyi | 0 .../db/migrations/operations/fields.pyi | 0 .../db/migrations/operations/models.pyi | 0 .../db/migrations/operations/special.pyi | 0 .../db/migrations/operations/utils.pyi | 0 .../db/migrations/optimizer.pyi | 0 .../db/migrations/questioner.pyi | 0 .../db/migrations/recorder.pyi | 0 .../db/migrations/serializer.pyi | 0 .../db/migrations/state.pyi | 0 .../db/migrations/topological_sort.pyi | 0 .../db/migrations/utils.pyi | 0 .../db/migrations/writer.pyi | 0 .../db/models/__init__.pyi | 0 .../db/models/aggregates.pyi | 0 .../db/models/base.pyi | 0 .../db/models/deletion.pyi | 0 .../db/models/expressions.pyi | 23 ++++++++----------- .../db/models/fields/__init__.pyi | 18 +++------------ .../db/models/fields/files.pyi | 0 .../db/models/fields/mixins.pyi | 0 .../db/models/fields/proxy.pyi | 0 .../db/models/fields/related.pyi | 0 .../db/models/fields/related_descriptors.pyi | 0 .../db/models/fields/related_lookups.pyi | 0 .../db/models/fields/reverse_related.pyi | 0 .../db/models/functions/__init__.pyi | 0 .../db/models/functions/comparison.pyi | 0 .../db/models/functions/datetime.pyi | 0 .../db/models/functions/text.pyi | 0 .../db/models/functions/window.pyi | 0 .../db/models/indexes.pyi | 0 .../db/models/lookups.pyi | 0 .../db/models/manager.pyi | 0 .../db/models/options.pyi | 0 .../db/models/query.pyi | 0 .../db/models/query_utils.pyi | 0 .../db/models/signals.pyi | 0 .../db/models/sql/__init__.pyi | 0 .../db/models/sql/compiler.pyi | 0 .../db/models/sql/datastructures.pyi | 0 .../db/models/sql/query.pyi | 0 .../db/models/sql/subqueries.pyi | 0 .../db/models/sql/where.pyi | 0 .../db/models/utils.pyi | 0 .../db/transaction.pyi | 0 .../db/utils.pyi | 0 .../dispatch/__init__.pyi | 0 .../dispatch/dispatcher.pyi | 0 .../forms/__init__.pyi | 0 .../forms/boundfield.pyi | 0 .../forms/fields.pyi | 0 .../forms/forms.pyi | 0 .../forms/formsets.pyi | 13 ++++++----- .../forms/models.pyi | 0 .../forms/renderers.pyi | 0 .../forms/utils.pyi | 0 .../forms/widgets.pyi | 0 .../http/__init__.pyi | 0 .../http/cookie.pyi | 0 .../http/multipartparser.pyi | 0 .../http/request.pyi | 0 .../http/response.pyi | 0 .../middleware/__init__.pyi | 0 .../middleware/cache.pyi | 0 .../middleware/clickjacking.pyi | 0 .../middleware/common.pyi | 0 .../middleware/csrf.pyi | 0 .../middleware/gzip.pyi | 0 .../middleware/http.pyi | 0 .../middleware/locale.pyi | 0 .../middleware/security.pyi | 0 .../shortcuts.pyi | 0 .../template/__init__.pyi | 0 .../template/backends/__init__.pyi | 0 .../template/backends/base.pyi | 0 .../template/backends/django.pyi | 0 .../template/backends/dummy.pyi | 0 .../template/backends/jinja2.pyi | 0 .../template/backends/utils.pyi | 0 .../template/base.pyi | 0 .../template/context.pyi | 0 .../template/context_processors.pyi | 0 .../template/defaultfilters.pyi | 0 .../template/defaulttags.pyi | 0 .../template/engine.pyi | 0 .../template/exceptions.pyi | 0 .../template/library.pyi | 0 .../template/loader.pyi | 0 .../template/loader_tags.pyi | 0 .../template/loaders/__init__.pyi | 0 .../template/loaders/app_directories.pyi | 0 .../template/loaders/base.pyi | 0 .../template/loaders/cached.pyi | 0 .../template/loaders/filesystem.pyi | 0 .../template/loaders/locmem.pyi | 0 .../template/response.pyi | 0 .../template/smartif.pyi | 0 .../template/utils.pyi | 0 .../templatetags/__init__.pyi | 0 .../templatetags/cache.pyi | 0 .../templatetags/i18n.pyi | 0 .../templatetags/l10n.pyi | 0 .../templatetags/static.pyi | 0 .../templatetags/tz.pyi | 0 .../test/__init__.pyi | 0 .../test/client.pyi | 0 .../test/html.pyi | 13 +++++------ .../test/runner.pyi | 0 .../test/selenium.pyi | 0 .../test/signals.pyi | 0 .../test/testcases.pyi | 0 .../test/utils.pyi | 0 .../urls/__init__.pyi | 0 .../urls/base.pyi | 0 .../urls/conf.pyi | 0 .../urls/converters.pyi | 0 .../urls/exceptions.pyi | 0 .../urls/resolvers.pyi | 0 .../urls/utils.pyi | 0 .../utils/__init__.pyi | 0 .../utils/_os.pyi | 0 .../utils/archive.pyi | 0 .../utils/autoreload.pyi | 0 .../utils/baseconv.pyi | 0 .../utils/cache.pyi | 0 .../utils/crypto.pyi | 0 .../utils/datastructures.pyi | 0 .../utils/dateformat.pyi | 0 .../utils/dateparse.pyi | 0 .../utils/datetime_safe.pyi | 0 .../utils/deconstruct.pyi | 0 .../utils/decorators.pyi | 0 .../utils/deprecation.pyi | 0 .../utils/duration.pyi | 0 .../utils/encoding.pyi | 0 .../utils/feedgenerator.pyi | 0 .../utils/formats.pyi | 0 .../utils/functional.pyi | 0 .../utils/html.pyi | 0 .../utils/http.pyi | 0 .../utils/inspect.pyi | 0 .../utils/ipv6.pyi | 0 .../utils/itercompat.pyi | 0 .../utils/jslex.pyi | 0 .../utils/log.pyi | 0 .../utils/lorem_ipsum.pyi | 0 .../utils/module_loading.pyi | 0 .../utils/numberformat.pyi | 0 .../utils/regex_helper.pyi | 0 .../utils/safestring.pyi | 0 .../utils/six.pyi | 0 .../utils/termcolors.pyi | 0 .../utils/text.pyi | 0 .../utils/timesince.pyi | 0 .../utils/timezone.pyi | 0 .../utils/translation/__init__.pyi | 0 .../utils/translation/template.pyi | 0 .../utils/translation/trans_null.pyi | 0 .../utils/translation/trans_real.pyi | 0 .../utils/tree.pyi | 0 .../utils/version.pyi | 0 .../utils/xmlutils.pyi | 0 .../views/__init__.pyi | 0 .../views/csrf.pyi | 0 .../views/debug.pyi | 0 .../views/decorators/__init__.pyi | 0 .../views/decorators/cache.pyi | 0 .../views/decorators/clickjacking.pyi | 0 .../views/decorators/csrf.pyi | 0 .../views/decorators/debug.pyi | 0 .../views/decorators/http.pyi | 0 .../views/decorators/vary.pyi | 0 .../views/defaults.pyi | 0 .../views/generic/__init__.pyi | 0 .../views/generic/base.pyi | 0 .../views/generic/dates.pyi | 0 .../views/generic/detail.pyi | 0 .../views/generic/edit.pyi | 0 .../views/generic/list.pyi | 0 .../views/i18n.pyi | 0 .../views/static.pyi | 0 446 files changed, 58 insertions(+), 71 deletions(-) rename {django-stubs => django-stubs-generated}/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/apps/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/apps/config.pyi (100%) rename {django-stubs => django-stubs-generated}/apps/registry.pyi (100%) rename {django-stubs => django-stubs-generated}/conf/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/conf/urls/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/conf/urls/i18n.pyi (100%) rename {django-stubs => django-stubs-generated}/conf/urls/static.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/actions.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/apps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/checks.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/decorators.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/filters.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/forms.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/helpers.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/options.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/sites.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/admin_list.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/admin_modify.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/admin_static.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/admin_urls.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/base.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/templatetags/log.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/views/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/views/autocomplete.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/views/decorators.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/views/main.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admin/widgets.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admindocs/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admindocs/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admindocs/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/admindocs/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/admin.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/apps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/backends.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/base_user.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/checks.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/context_processors.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/decorators.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/forms.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/handlers/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/handlers/modwsgi.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/hashers.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/management/commands/changepassword.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/management/commands/createsuperuser.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/mixins.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/password_validation.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/tokens.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/auth/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/admin.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/apps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/checks.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/fields.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/forms.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/contenttypes/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/forms.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/sitemaps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/templatetags/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/templatetags/flatpages.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/flatpages/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/humanize/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/humanize/templatetags/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/humanize/templatetags/humanize.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/api.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/context_processors.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/storage/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/storage/base.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/storage/cookie.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/storage/fallback.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/storage/session.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/messages/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/fields/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/fields/array.pyi (90%) rename {django-stubs => django-stubs-generated}/contrib/postgres/fields/jsonb.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/fields/mixins.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/fields/ranges.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/postgres/operations.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/redirects/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/redirects/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/redirects/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/base.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/cache.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/cached_db.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/db.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/file.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/backends/signed_cookies.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/base_session.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/management/commands/clearsessions.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sessions/serializers.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sitemaps/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sitemaps/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sitemaps/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sitemaps/management/commands/ping_google.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sitemaps/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/apps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/management.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/managers.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/middleware.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/models.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/requests.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/sites/shortcuts.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/apps.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/checks.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/finders.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/handlers.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/management/commands/collectstatic.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/management/commands/findstatic.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/management/commands/runserver.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/storage.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/templatetags/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/templatetags/staticfiles.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/urls.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/staticfiles/views.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/syndication/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/contrib/syndication/views.pyi (100%) rename {django-stubs => django-stubs-generated}/core/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/db.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/dummy.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/filebased.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/backends/locmem.pyi (100%) rename {django-stubs => django-stubs-generated}/core/cache/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/caches.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/database.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/messages.pyi (91%) rename {django-stubs => django-stubs-generated}/core/checks/model_checks.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/registry.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/security/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/security/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/security/csrf.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/security/sessions.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/templates.pyi (100%) rename {django-stubs => django-stubs-generated}/core/checks/urls.pyi (100%) rename {django-stubs => django-stubs-generated}/core/exceptions.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/base.pyi (95%) rename {django-stubs => django-stubs-generated}/core/files/images.pyi (83%) rename {django-stubs => django-stubs-generated}/core/files/locks.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/move.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/storage.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/uploadedfile.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/uploadhandler.pyi (100%) rename {django-stubs => django-stubs-generated}/core/files/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/core/handlers/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/handlers/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/handlers/exception.pyi (100%) rename {django-stubs => django-stubs-generated}/core/handlers/wsgi.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/console.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/dummy.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/filebased.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/locmem.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/backends/smtp.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/message.pyi (100%) rename {django-stubs => django-stubs-generated}/core/mail/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/color.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/check.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/compilemessages.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/createcachetable.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/dumpdata.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/flush.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/inspectdb.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/loaddata.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/makemessages.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/makemigrations.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/migrate.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/runserver.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/sendtestemail.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/shell.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/showmigrations.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/sqlmigrate.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/squashmigrations.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/test.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/commands/testserver.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/sql.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/templates.pyi (100%) rename {django-stubs => django-stubs-generated}/core/management/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/core/paginator.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/base.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/json.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/python.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/pyyaml.pyi (100%) rename {django-stubs => django-stubs-generated}/core/serializers/xml_serializer.pyi (100%) rename {django-stubs => django-stubs-generated}/core/servers/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/core/servers/basehttp.pyi (86%) rename {django-stubs => django-stubs-generated}/core/signing.pyi (100%) rename {django-stubs => django-stubs-generated}/core/validators.pyi (100%) rename {django-stubs => django-stubs-generated}/core/wsgi.pyi (100%) rename {django-stubs => django-stubs-generated}/db/__init__.pyi (94%) rename {django-stubs => django-stubs-generated}/db/backends/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/base.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/client.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/creation.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/features.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/introspection.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/operations.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/schema.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/base/validation.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/ddl_references.pyi (93%) rename {django-stubs => django-stubs-generated}/db/backends/dummy/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/dummy/base.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/mysql/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/mysql/client.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/postgresql/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/postgresql/client.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/base.pyi (83%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/creation.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/features.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/introspection.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/operations.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/sqlite3/schema.pyi (100%) rename {django-stubs => django-stubs-generated}/db/backends/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/autodetector.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/exceptions.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/executor.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/graph.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/loader.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/migration.pyi (93%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/base.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/fields.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/models.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/special.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/operations/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/optimizer.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/questioner.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/recorder.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/serializer.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/state.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/topological_sort.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/db/migrations/writer.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/aggregates.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/base.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/deletion.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/expressions.pyi (96%) rename {django-stubs => django-stubs-generated}/db/models/fields/__init__.pyi (95%) rename {django-stubs => django-stubs-generated}/db/models/fields/files.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/mixins.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/proxy.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/related.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/related_descriptors.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/related_lookups.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/fields/reverse_related.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/functions/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/functions/comparison.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/functions/datetime.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/functions/text.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/functions/window.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/indexes.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/lookups.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/manager.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/options.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/query.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/query_utils.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/signals.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/compiler.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/datastructures.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/query.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/subqueries.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/sql/where.pyi (100%) rename {django-stubs => django-stubs-generated}/db/models/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/db/transaction.pyi (100%) rename {django-stubs => django-stubs-generated}/db/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/dispatch/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/dispatch/dispatcher.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/boundfield.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/fields.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/forms.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/formsets.pyi (89%) rename {django-stubs => django-stubs-generated}/forms/models.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/renderers.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/forms/widgets.pyi (100%) rename {django-stubs => django-stubs-generated}/http/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/http/cookie.pyi (100%) rename {django-stubs => django-stubs-generated}/http/multipartparser.pyi (100%) rename {django-stubs => django-stubs-generated}/http/request.pyi (100%) rename {django-stubs => django-stubs-generated}/http/response.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/cache.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/clickjacking.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/common.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/csrf.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/gzip.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/http.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/locale.pyi (100%) rename {django-stubs => django-stubs-generated}/middleware/security.pyi (100%) rename {django-stubs => django-stubs-generated}/shortcuts.pyi (100%) rename {django-stubs => django-stubs-generated}/template/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/base.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/django.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/dummy.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/jinja2.pyi (100%) rename {django-stubs => django-stubs-generated}/template/backends/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/template/base.pyi (100%) rename {django-stubs => django-stubs-generated}/template/context.pyi (100%) rename {django-stubs => django-stubs-generated}/template/context_processors.pyi (100%) rename {django-stubs => django-stubs-generated}/template/defaultfilters.pyi (100%) rename {django-stubs => django-stubs-generated}/template/defaulttags.pyi (100%) rename {django-stubs => django-stubs-generated}/template/engine.pyi (100%) rename {django-stubs => django-stubs-generated}/template/exceptions.pyi (100%) rename {django-stubs => django-stubs-generated}/template/library.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loader.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loader_tags.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/app_directories.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/base.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/cached.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/filesystem.pyi (100%) rename {django-stubs => django-stubs-generated}/template/loaders/locmem.pyi (100%) rename {django-stubs => django-stubs-generated}/template/response.pyi (100%) rename {django-stubs => django-stubs-generated}/template/smartif.pyi (100%) rename {django-stubs => django-stubs-generated}/template/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/cache.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/i18n.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/l10n.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/static.pyi (100%) rename {django-stubs => django-stubs-generated}/templatetags/tz.pyi (100%) rename {django-stubs => django-stubs-generated}/test/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/test/client.pyi (100%) rename {django-stubs => django-stubs-generated}/test/html.pyi (84%) rename {django-stubs => django-stubs-generated}/test/runner.pyi (100%) rename {django-stubs => django-stubs-generated}/test/selenium.pyi (100%) rename {django-stubs => django-stubs-generated}/test/signals.pyi (100%) rename {django-stubs => django-stubs-generated}/test/testcases.pyi (100%) rename {django-stubs => django-stubs-generated}/test/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/base.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/conf.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/converters.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/exceptions.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/resolvers.pyi (100%) rename {django-stubs => django-stubs-generated}/urls/utils.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/_os.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/archive.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/autoreload.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/baseconv.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/cache.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/crypto.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/datastructures.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/dateformat.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/dateparse.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/datetime_safe.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/deconstruct.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/decorators.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/deprecation.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/duration.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/encoding.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/feedgenerator.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/formats.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/functional.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/html.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/http.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/inspect.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/ipv6.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/itercompat.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/jslex.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/log.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/lorem_ipsum.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/module_loading.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/numberformat.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/regex_helper.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/safestring.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/six.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/termcolors.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/text.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/timesince.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/timezone.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/translation/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/translation/template.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/translation/trans_null.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/translation/trans_real.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/tree.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/version.pyi (100%) rename {django-stubs => django-stubs-generated}/utils/xmlutils.pyi (100%) rename {django-stubs => django-stubs-generated}/views/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/views/csrf.pyi (100%) rename {django-stubs => django-stubs-generated}/views/debug.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/cache.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/clickjacking.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/csrf.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/debug.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/http.pyi (100%) rename {django-stubs => django-stubs-generated}/views/decorators/vary.pyi (100%) rename {django-stubs => django-stubs-generated}/views/defaults.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/__init__.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/base.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/dates.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/detail.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/edit.pyi (100%) rename {django-stubs => django-stubs-generated}/views/generic/list.pyi (100%) rename {django-stubs => django-stubs-generated}/views/i18n.pyi (100%) rename {django-stubs => django-stubs-generated}/views/static.pyi (100%) diff --git a/django-stubs/__init__.pyi b/django-stubs-generated/__init__.pyi similarity index 100% rename from django-stubs/__init__.pyi rename to django-stubs-generated/__init__.pyi diff --git a/django-stubs/apps/__init__.pyi b/django-stubs-generated/apps/__init__.pyi similarity index 100% rename from django-stubs/apps/__init__.pyi rename to django-stubs-generated/apps/__init__.pyi diff --git a/django-stubs/apps/config.pyi b/django-stubs-generated/apps/config.pyi similarity index 100% rename from django-stubs/apps/config.pyi rename to django-stubs-generated/apps/config.pyi diff --git a/django-stubs/apps/registry.pyi b/django-stubs-generated/apps/registry.pyi similarity index 100% rename from django-stubs/apps/registry.pyi rename to django-stubs-generated/apps/registry.pyi diff --git a/django-stubs/conf/__init__.pyi b/django-stubs-generated/conf/__init__.pyi similarity index 100% rename from django-stubs/conf/__init__.pyi rename to django-stubs-generated/conf/__init__.pyi diff --git a/django-stubs/conf/urls/__init__.pyi b/django-stubs-generated/conf/urls/__init__.pyi similarity index 100% rename from django-stubs/conf/urls/__init__.pyi rename to django-stubs-generated/conf/urls/__init__.pyi diff --git a/django-stubs/conf/urls/i18n.pyi b/django-stubs-generated/conf/urls/i18n.pyi similarity index 100% rename from django-stubs/conf/urls/i18n.pyi rename to django-stubs-generated/conf/urls/i18n.pyi diff --git a/django-stubs/conf/urls/static.pyi b/django-stubs-generated/conf/urls/static.pyi similarity index 100% rename from django-stubs/conf/urls/static.pyi rename to django-stubs-generated/conf/urls/static.pyi diff --git a/django-stubs/contrib/__init__.pyi b/django-stubs-generated/contrib/__init__.pyi similarity index 100% rename from django-stubs/contrib/__init__.pyi rename to django-stubs-generated/contrib/__init__.pyi diff --git a/django-stubs/contrib/admin/__init__.pyi b/django-stubs-generated/contrib/admin/__init__.pyi similarity index 100% rename from django-stubs/contrib/admin/__init__.pyi rename to django-stubs-generated/contrib/admin/__init__.pyi diff --git a/django-stubs/contrib/admin/actions.pyi b/django-stubs-generated/contrib/admin/actions.pyi similarity index 100% rename from django-stubs/contrib/admin/actions.pyi rename to django-stubs-generated/contrib/admin/actions.pyi diff --git a/django-stubs/contrib/admin/apps.pyi b/django-stubs-generated/contrib/admin/apps.pyi similarity index 100% rename from django-stubs/contrib/admin/apps.pyi rename to django-stubs-generated/contrib/admin/apps.pyi diff --git a/django-stubs/contrib/admin/checks.pyi b/django-stubs-generated/contrib/admin/checks.pyi similarity index 100% rename from django-stubs/contrib/admin/checks.pyi rename to django-stubs-generated/contrib/admin/checks.pyi diff --git a/django-stubs/contrib/admin/decorators.pyi b/django-stubs-generated/contrib/admin/decorators.pyi similarity index 100% rename from django-stubs/contrib/admin/decorators.pyi rename to django-stubs-generated/contrib/admin/decorators.pyi diff --git a/django-stubs/contrib/admin/filters.pyi b/django-stubs-generated/contrib/admin/filters.pyi similarity index 100% rename from django-stubs/contrib/admin/filters.pyi rename to django-stubs-generated/contrib/admin/filters.pyi diff --git a/django-stubs/contrib/admin/forms.pyi b/django-stubs-generated/contrib/admin/forms.pyi similarity index 100% rename from django-stubs/contrib/admin/forms.pyi rename to django-stubs-generated/contrib/admin/forms.pyi diff --git a/django-stubs/contrib/admin/helpers.pyi b/django-stubs-generated/contrib/admin/helpers.pyi similarity index 100% rename from django-stubs/contrib/admin/helpers.pyi rename to django-stubs-generated/contrib/admin/helpers.pyi diff --git a/django-stubs/contrib/admin/models.pyi b/django-stubs-generated/contrib/admin/models.pyi similarity index 100% rename from django-stubs/contrib/admin/models.pyi rename to django-stubs-generated/contrib/admin/models.pyi diff --git a/django-stubs/contrib/admin/options.pyi b/django-stubs-generated/contrib/admin/options.pyi similarity index 100% rename from django-stubs/contrib/admin/options.pyi rename to django-stubs-generated/contrib/admin/options.pyi diff --git a/django-stubs/contrib/admin/sites.pyi b/django-stubs-generated/contrib/admin/sites.pyi similarity index 100% rename from django-stubs/contrib/admin/sites.pyi rename to django-stubs-generated/contrib/admin/sites.pyi diff --git a/django-stubs/contrib/admin/templatetags/__init__.pyi b/django-stubs-generated/contrib/admin/templatetags/__init__.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/__init__.pyi rename to django-stubs-generated/contrib/admin/templatetags/__init__.pyi diff --git a/django-stubs/contrib/admin/templatetags/admin_list.pyi b/django-stubs-generated/contrib/admin/templatetags/admin_list.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/admin_list.pyi rename to django-stubs-generated/contrib/admin/templatetags/admin_list.pyi diff --git a/django-stubs/contrib/admin/templatetags/admin_modify.pyi b/django-stubs-generated/contrib/admin/templatetags/admin_modify.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/admin_modify.pyi rename to django-stubs-generated/contrib/admin/templatetags/admin_modify.pyi diff --git a/django-stubs/contrib/admin/templatetags/admin_static.pyi b/django-stubs-generated/contrib/admin/templatetags/admin_static.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/admin_static.pyi rename to django-stubs-generated/contrib/admin/templatetags/admin_static.pyi diff --git a/django-stubs/contrib/admin/templatetags/admin_urls.pyi b/django-stubs-generated/contrib/admin/templatetags/admin_urls.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/admin_urls.pyi rename to django-stubs-generated/contrib/admin/templatetags/admin_urls.pyi diff --git a/django-stubs/contrib/admin/templatetags/base.pyi b/django-stubs-generated/contrib/admin/templatetags/base.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/base.pyi rename to django-stubs-generated/contrib/admin/templatetags/base.pyi diff --git a/django-stubs/contrib/admin/templatetags/log.pyi b/django-stubs-generated/contrib/admin/templatetags/log.pyi similarity index 100% rename from django-stubs/contrib/admin/templatetags/log.pyi rename to django-stubs-generated/contrib/admin/templatetags/log.pyi diff --git a/django-stubs/contrib/admin/utils.pyi b/django-stubs-generated/contrib/admin/utils.pyi similarity index 100% rename from django-stubs/contrib/admin/utils.pyi rename to django-stubs-generated/contrib/admin/utils.pyi diff --git a/django-stubs/contrib/admin/views/__init__.pyi b/django-stubs-generated/contrib/admin/views/__init__.pyi similarity index 100% rename from django-stubs/contrib/admin/views/__init__.pyi rename to django-stubs-generated/contrib/admin/views/__init__.pyi diff --git a/django-stubs/contrib/admin/views/autocomplete.pyi b/django-stubs-generated/contrib/admin/views/autocomplete.pyi similarity index 100% rename from django-stubs/contrib/admin/views/autocomplete.pyi rename to django-stubs-generated/contrib/admin/views/autocomplete.pyi diff --git a/django-stubs/contrib/admin/views/decorators.pyi b/django-stubs-generated/contrib/admin/views/decorators.pyi similarity index 100% rename from django-stubs/contrib/admin/views/decorators.pyi rename to django-stubs-generated/contrib/admin/views/decorators.pyi diff --git a/django-stubs/contrib/admin/views/main.pyi b/django-stubs-generated/contrib/admin/views/main.pyi similarity index 100% rename from django-stubs/contrib/admin/views/main.pyi rename to django-stubs-generated/contrib/admin/views/main.pyi diff --git a/django-stubs/contrib/admin/widgets.pyi b/django-stubs-generated/contrib/admin/widgets.pyi similarity index 100% rename from django-stubs/contrib/admin/widgets.pyi rename to django-stubs-generated/contrib/admin/widgets.pyi diff --git a/django-stubs/contrib/admindocs/__init__.pyi b/django-stubs-generated/contrib/admindocs/__init__.pyi similarity index 100% rename from django-stubs/contrib/admindocs/__init__.pyi rename to django-stubs-generated/contrib/admindocs/__init__.pyi diff --git a/django-stubs/contrib/admindocs/middleware.pyi b/django-stubs-generated/contrib/admindocs/middleware.pyi similarity index 100% rename from django-stubs/contrib/admindocs/middleware.pyi rename to django-stubs-generated/contrib/admindocs/middleware.pyi diff --git a/django-stubs/contrib/admindocs/utils.pyi b/django-stubs-generated/contrib/admindocs/utils.pyi similarity index 100% rename from django-stubs/contrib/admindocs/utils.pyi rename to django-stubs-generated/contrib/admindocs/utils.pyi diff --git a/django-stubs/contrib/admindocs/views.pyi b/django-stubs-generated/contrib/admindocs/views.pyi similarity index 100% rename from django-stubs/contrib/admindocs/views.pyi rename to django-stubs-generated/contrib/admindocs/views.pyi diff --git a/django-stubs/contrib/auth/__init__.pyi b/django-stubs-generated/contrib/auth/__init__.pyi similarity index 100% rename from django-stubs/contrib/auth/__init__.pyi rename to django-stubs-generated/contrib/auth/__init__.pyi diff --git a/django-stubs/contrib/auth/admin.pyi b/django-stubs-generated/contrib/auth/admin.pyi similarity index 100% rename from django-stubs/contrib/auth/admin.pyi rename to django-stubs-generated/contrib/auth/admin.pyi diff --git a/django-stubs/contrib/auth/apps.pyi b/django-stubs-generated/contrib/auth/apps.pyi similarity index 100% rename from django-stubs/contrib/auth/apps.pyi rename to django-stubs-generated/contrib/auth/apps.pyi diff --git a/django-stubs/contrib/auth/backends.pyi b/django-stubs-generated/contrib/auth/backends.pyi similarity index 100% rename from django-stubs/contrib/auth/backends.pyi rename to django-stubs-generated/contrib/auth/backends.pyi diff --git a/django-stubs/contrib/auth/base_user.pyi b/django-stubs-generated/contrib/auth/base_user.pyi similarity index 100% rename from django-stubs/contrib/auth/base_user.pyi rename to django-stubs-generated/contrib/auth/base_user.pyi diff --git a/django-stubs/contrib/auth/checks.pyi b/django-stubs-generated/contrib/auth/checks.pyi similarity index 100% rename from django-stubs/contrib/auth/checks.pyi rename to django-stubs-generated/contrib/auth/checks.pyi diff --git a/django-stubs/contrib/auth/context_processors.pyi b/django-stubs-generated/contrib/auth/context_processors.pyi similarity index 100% rename from django-stubs/contrib/auth/context_processors.pyi rename to django-stubs-generated/contrib/auth/context_processors.pyi diff --git a/django-stubs/contrib/auth/decorators.pyi b/django-stubs-generated/contrib/auth/decorators.pyi similarity index 100% rename from django-stubs/contrib/auth/decorators.pyi rename to django-stubs-generated/contrib/auth/decorators.pyi diff --git a/django-stubs/contrib/auth/forms.pyi b/django-stubs-generated/contrib/auth/forms.pyi similarity index 100% rename from django-stubs/contrib/auth/forms.pyi rename to django-stubs-generated/contrib/auth/forms.pyi diff --git a/django-stubs/contrib/auth/handlers/__init__.pyi b/django-stubs-generated/contrib/auth/handlers/__init__.pyi similarity index 100% rename from django-stubs/contrib/auth/handlers/__init__.pyi rename to django-stubs-generated/contrib/auth/handlers/__init__.pyi diff --git a/django-stubs/contrib/auth/handlers/modwsgi.pyi b/django-stubs-generated/contrib/auth/handlers/modwsgi.pyi similarity index 100% rename from django-stubs/contrib/auth/handlers/modwsgi.pyi rename to django-stubs-generated/contrib/auth/handlers/modwsgi.pyi diff --git a/django-stubs/contrib/auth/hashers.pyi b/django-stubs-generated/contrib/auth/hashers.pyi similarity index 100% rename from django-stubs/contrib/auth/hashers.pyi rename to django-stubs-generated/contrib/auth/hashers.pyi diff --git a/django-stubs/contrib/auth/management/__init__.pyi b/django-stubs-generated/contrib/auth/management/__init__.pyi similarity index 100% rename from django-stubs/contrib/auth/management/__init__.pyi rename to django-stubs-generated/contrib/auth/management/__init__.pyi diff --git a/django-stubs/contrib/auth/management/commands/__init__.pyi b/django-stubs-generated/contrib/auth/management/commands/__init__.pyi similarity index 100% rename from django-stubs/contrib/auth/management/commands/__init__.pyi rename to django-stubs-generated/contrib/auth/management/commands/__init__.pyi diff --git a/django-stubs/contrib/auth/management/commands/changepassword.pyi b/django-stubs-generated/contrib/auth/management/commands/changepassword.pyi similarity index 100% rename from django-stubs/contrib/auth/management/commands/changepassword.pyi rename to django-stubs-generated/contrib/auth/management/commands/changepassword.pyi diff --git a/django-stubs/contrib/auth/management/commands/createsuperuser.pyi b/django-stubs-generated/contrib/auth/management/commands/createsuperuser.pyi similarity index 100% rename from django-stubs/contrib/auth/management/commands/createsuperuser.pyi rename to django-stubs-generated/contrib/auth/management/commands/createsuperuser.pyi diff --git a/django-stubs/contrib/auth/middleware.pyi b/django-stubs-generated/contrib/auth/middleware.pyi similarity index 100% rename from django-stubs/contrib/auth/middleware.pyi rename to django-stubs-generated/contrib/auth/middleware.pyi diff --git a/django-stubs/contrib/auth/mixins.pyi b/django-stubs-generated/contrib/auth/mixins.pyi similarity index 100% rename from django-stubs/contrib/auth/mixins.pyi rename to django-stubs-generated/contrib/auth/mixins.pyi diff --git a/django-stubs/contrib/auth/models.pyi b/django-stubs-generated/contrib/auth/models.pyi similarity index 100% rename from django-stubs/contrib/auth/models.pyi rename to django-stubs-generated/contrib/auth/models.pyi diff --git a/django-stubs/contrib/auth/password_validation.pyi b/django-stubs-generated/contrib/auth/password_validation.pyi similarity index 100% rename from django-stubs/contrib/auth/password_validation.pyi rename to django-stubs-generated/contrib/auth/password_validation.pyi diff --git a/django-stubs/contrib/auth/tokens.pyi b/django-stubs-generated/contrib/auth/tokens.pyi similarity index 100% rename from django-stubs/contrib/auth/tokens.pyi rename to django-stubs-generated/contrib/auth/tokens.pyi diff --git a/django-stubs/contrib/auth/views.pyi b/django-stubs-generated/contrib/auth/views.pyi similarity index 100% rename from django-stubs/contrib/auth/views.pyi rename to django-stubs-generated/contrib/auth/views.pyi diff --git a/django-stubs/contrib/contenttypes/__init__.pyi b/django-stubs-generated/contrib/contenttypes/__init__.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/__init__.pyi rename to django-stubs-generated/contrib/contenttypes/__init__.pyi diff --git a/django-stubs/contrib/contenttypes/admin.pyi b/django-stubs-generated/contrib/contenttypes/admin.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/admin.pyi rename to django-stubs-generated/contrib/contenttypes/admin.pyi diff --git a/django-stubs/contrib/contenttypes/apps.pyi b/django-stubs-generated/contrib/contenttypes/apps.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/apps.pyi rename to django-stubs-generated/contrib/contenttypes/apps.pyi diff --git a/django-stubs/contrib/contenttypes/checks.pyi b/django-stubs-generated/contrib/contenttypes/checks.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/checks.pyi rename to django-stubs-generated/contrib/contenttypes/checks.pyi diff --git a/django-stubs/contrib/contenttypes/fields.pyi b/django-stubs-generated/contrib/contenttypes/fields.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/fields.pyi rename to django-stubs-generated/contrib/contenttypes/fields.pyi diff --git a/django-stubs/contrib/contenttypes/forms.pyi b/django-stubs-generated/contrib/contenttypes/forms.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/forms.pyi rename to django-stubs-generated/contrib/contenttypes/forms.pyi diff --git a/django-stubs/contrib/contenttypes/management/__init__.pyi b/django-stubs-generated/contrib/contenttypes/management/__init__.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/management/__init__.pyi rename to django-stubs-generated/contrib/contenttypes/management/__init__.pyi diff --git a/django-stubs/contrib/contenttypes/management/commands/__init__.pyi b/django-stubs-generated/contrib/contenttypes/management/commands/__init__.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/management/commands/__init__.pyi rename to django-stubs-generated/contrib/contenttypes/management/commands/__init__.pyi diff --git a/django-stubs/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi b/django-stubs-generated/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi rename to django-stubs-generated/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi diff --git a/django-stubs/contrib/contenttypes/models.pyi b/django-stubs-generated/contrib/contenttypes/models.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/models.pyi rename to django-stubs-generated/contrib/contenttypes/models.pyi diff --git a/django-stubs/contrib/contenttypes/views.pyi b/django-stubs-generated/contrib/contenttypes/views.pyi similarity index 100% rename from django-stubs/contrib/contenttypes/views.pyi rename to django-stubs-generated/contrib/contenttypes/views.pyi diff --git a/django-stubs/contrib/flatpages/__init__.pyi b/django-stubs-generated/contrib/flatpages/__init__.pyi similarity index 100% rename from django-stubs/contrib/flatpages/__init__.pyi rename to django-stubs-generated/contrib/flatpages/__init__.pyi diff --git a/django-stubs/contrib/flatpages/forms.pyi b/django-stubs-generated/contrib/flatpages/forms.pyi similarity index 100% rename from django-stubs/contrib/flatpages/forms.pyi rename to django-stubs-generated/contrib/flatpages/forms.pyi diff --git a/django-stubs/contrib/flatpages/middleware.pyi b/django-stubs-generated/contrib/flatpages/middleware.pyi similarity index 100% rename from django-stubs/contrib/flatpages/middleware.pyi rename to django-stubs-generated/contrib/flatpages/middleware.pyi diff --git a/django-stubs/contrib/flatpages/models.pyi b/django-stubs-generated/contrib/flatpages/models.pyi similarity index 100% rename from django-stubs/contrib/flatpages/models.pyi rename to django-stubs-generated/contrib/flatpages/models.pyi diff --git a/django-stubs/contrib/flatpages/sitemaps.pyi b/django-stubs-generated/contrib/flatpages/sitemaps.pyi similarity index 100% rename from django-stubs/contrib/flatpages/sitemaps.pyi rename to django-stubs-generated/contrib/flatpages/sitemaps.pyi diff --git a/django-stubs/contrib/flatpages/templatetags/__init__.pyi b/django-stubs-generated/contrib/flatpages/templatetags/__init__.pyi similarity index 100% rename from django-stubs/contrib/flatpages/templatetags/__init__.pyi rename to django-stubs-generated/contrib/flatpages/templatetags/__init__.pyi diff --git a/django-stubs/contrib/flatpages/templatetags/flatpages.pyi b/django-stubs-generated/contrib/flatpages/templatetags/flatpages.pyi similarity index 100% rename from django-stubs/contrib/flatpages/templatetags/flatpages.pyi rename to django-stubs-generated/contrib/flatpages/templatetags/flatpages.pyi diff --git a/django-stubs/contrib/flatpages/views.pyi b/django-stubs-generated/contrib/flatpages/views.pyi similarity index 100% rename from django-stubs/contrib/flatpages/views.pyi rename to django-stubs-generated/contrib/flatpages/views.pyi diff --git a/django-stubs/contrib/humanize/__init__.pyi b/django-stubs-generated/contrib/humanize/__init__.pyi similarity index 100% rename from django-stubs/contrib/humanize/__init__.pyi rename to django-stubs-generated/contrib/humanize/__init__.pyi diff --git a/django-stubs/contrib/humanize/templatetags/__init__.pyi b/django-stubs-generated/contrib/humanize/templatetags/__init__.pyi similarity index 100% rename from django-stubs/contrib/humanize/templatetags/__init__.pyi rename to django-stubs-generated/contrib/humanize/templatetags/__init__.pyi diff --git a/django-stubs/contrib/humanize/templatetags/humanize.pyi b/django-stubs-generated/contrib/humanize/templatetags/humanize.pyi similarity index 100% rename from django-stubs/contrib/humanize/templatetags/humanize.pyi rename to django-stubs-generated/contrib/humanize/templatetags/humanize.pyi diff --git a/django-stubs/contrib/messages/__init__.pyi b/django-stubs-generated/contrib/messages/__init__.pyi similarity index 100% rename from django-stubs/contrib/messages/__init__.pyi rename to django-stubs-generated/contrib/messages/__init__.pyi diff --git a/django-stubs/contrib/messages/api.pyi b/django-stubs-generated/contrib/messages/api.pyi similarity index 100% rename from django-stubs/contrib/messages/api.pyi rename to django-stubs-generated/contrib/messages/api.pyi diff --git a/django-stubs/contrib/messages/context_processors.pyi b/django-stubs-generated/contrib/messages/context_processors.pyi similarity index 100% rename from django-stubs/contrib/messages/context_processors.pyi rename to django-stubs-generated/contrib/messages/context_processors.pyi diff --git a/django-stubs/contrib/messages/middleware.pyi b/django-stubs-generated/contrib/messages/middleware.pyi similarity index 100% rename from django-stubs/contrib/messages/middleware.pyi rename to django-stubs-generated/contrib/messages/middleware.pyi diff --git a/django-stubs/contrib/messages/storage/__init__.pyi b/django-stubs-generated/contrib/messages/storage/__init__.pyi similarity index 100% rename from django-stubs/contrib/messages/storage/__init__.pyi rename to django-stubs-generated/contrib/messages/storage/__init__.pyi diff --git a/django-stubs/contrib/messages/storage/base.pyi b/django-stubs-generated/contrib/messages/storage/base.pyi similarity index 100% rename from django-stubs/contrib/messages/storage/base.pyi rename to django-stubs-generated/contrib/messages/storage/base.pyi diff --git a/django-stubs/contrib/messages/storage/cookie.pyi b/django-stubs-generated/contrib/messages/storage/cookie.pyi similarity index 100% rename from django-stubs/contrib/messages/storage/cookie.pyi rename to django-stubs-generated/contrib/messages/storage/cookie.pyi diff --git a/django-stubs/contrib/messages/storage/fallback.pyi b/django-stubs-generated/contrib/messages/storage/fallback.pyi similarity index 100% rename from django-stubs/contrib/messages/storage/fallback.pyi rename to django-stubs-generated/contrib/messages/storage/fallback.pyi diff --git a/django-stubs/contrib/messages/storage/session.pyi b/django-stubs-generated/contrib/messages/storage/session.pyi similarity index 100% rename from django-stubs/contrib/messages/storage/session.pyi rename to django-stubs-generated/contrib/messages/storage/session.pyi diff --git a/django-stubs/contrib/messages/utils.pyi b/django-stubs-generated/contrib/messages/utils.pyi similarity index 100% rename from django-stubs/contrib/messages/utils.pyi rename to django-stubs-generated/contrib/messages/utils.pyi diff --git a/django-stubs/contrib/messages/views.pyi b/django-stubs-generated/contrib/messages/views.pyi similarity index 100% rename from django-stubs/contrib/messages/views.pyi rename to django-stubs-generated/contrib/messages/views.pyi diff --git a/django-stubs/contrib/postgres/__init__.pyi b/django-stubs-generated/contrib/postgres/__init__.pyi similarity index 100% rename from django-stubs/contrib/postgres/__init__.pyi rename to django-stubs-generated/contrib/postgres/__init__.pyi diff --git a/django-stubs/contrib/postgres/fields/__init__.pyi b/django-stubs-generated/contrib/postgres/fields/__init__.pyi similarity index 100% rename from django-stubs/contrib/postgres/fields/__init__.pyi rename to django-stubs-generated/contrib/postgres/fields/__init__.pyi diff --git a/django-stubs/contrib/postgres/fields/array.pyi b/django-stubs-generated/contrib/postgres/fields/array.pyi similarity index 90% rename from django-stubs/contrib/postgres/fields/array.pyi rename to django-stubs-generated/contrib/postgres/fields/array.pyi index bf776a5..b926f5a 100644 --- a/django-stubs/contrib/postgres/fields/array.pyi +++ b/django-stubs-generated/contrib/postgres/fields/array.pyi @@ -1,4 +1,4 @@ -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import Any, Dict, List, Optional, Tuple, Union, TypeVar, Type, Generic from django.contrib.postgres import lookups from django.db.models import Field, Transform @@ -7,16 +7,19 @@ from django.db.models.lookups import Exact, In from .mixins import CheckFieldDefaultMixin +_T = TypeVar('_T', bound=Field) -class ArrayField(CheckFieldDefaultMixin, Field): + +class ArrayField(CheckFieldDefaultMixin, Field, Generic[_T]): empty_strings_allowed: bool = ... default_error_messages: Any = ... base_field: Any = ... size: Any = ... default_validators: Any = ... from_db_value: Any = ... + def __init__( - self, base_field: Field, size: None = ..., **kwargs: Any + self, base_field: _T, size: None = ..., **kwargs: Any ) -> None: ... @property def model(self): ... @@ -41,6 +44,7 @@ class ArrayField(CheckFieldDefaultMixin, Field): def validate(self, value: Any, model_instance: Any) -> None: ... def run_validators(self, value: Any) -> None: ... def formfield(self, **kwargs: Any): ... + def __get__(self, instance, owner) -> List[_T]: ... class ArrayContains(lookups.DataContains): def as_sql(self, qn: Any, connection: Any): ... diff --git a/django-stubs/contrib/postgres/fields/jsonb.pyi b/django-stubs-generated/contrib/postgres/fields/jsonb.pyi similarity index 100% rename from django-stubs/contrib/postgres/fields/jsonb.pyi rename to django-stubs-generated/contrib/postgres/fields/jsonb.pyi diff --git a/django-stubs/contrib/postgres/fields/mixins.pyi b/django-stubs-generated/contrib/postgres/fields/mixins.pyi similarity index 100% rename from django-stubs/contrib/postgres/fields/mixins.pyi rename to django-stubs-generated/contrib/postgres/fields/mixins.pyi diff --git a/django-stubs/contrib/postgres/fields/ranges.pyi b/django-stubs-generated/contrib/postgres/fields/ranges.pyi similarity index 100% rename from django-stubs/contrib/postgres/fields/ranges.pyi rename to django-stubs-generated/contrib/postgres/fields/ranges.pyi diff --git a/django-stubs/contrib/postgres/operations.pyi b/django-stubs-generated/contrib/postgres/operations.pyi similarity index 100% rename from django-stubs/contrib/postgres/operations.pyi rename to django-stubs-generated/contrib/postgres/operations.pyi diff --git a/django-stubs/contrib/redirects/__init__.pyi b/django-stubs-generated/contrib/redirects/__init__.pyi similarity index 100% rename from django-stubs/contrib/redirects/__init__.pyi rename to django-stubs-generated/contrib/redirects/__init__.pyi diff --git a/django-stubs/contrib/redirects/middleware.pyi b/django-stubs-generated/contrib/redirects/middleware.pyi similarity index 100% rename from django-stubs/contrib/redirects/middleware.pyi rename to django-stubs-generated/contrib/redirects/middleware.pyi diff --git a/django-stubs/contrib/redirects/models.pyi b/django-stubs-generated/contrib/redirects/models.pyi similarity index 100% rename from django-stubs/contrib/redirects/models.pyi rename to django-stubs-generated/contrib/redirects/models.pyi diff --git a/django-stubs/contrib/sessions/__init__.pyi b/django-stubs-generated/contrib/sessions/__init__.pyi similarity index 100% rename from django-stubs/contrib/sessions/__init__.pyi rename to django-stubs-generated/contrib/sessions/__init__.pyi diff --git a/django-stubs/contrib/sessions/backends/__init__.pyi b/django-stubs-generated/contrib/sessions/backends/__init__.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/__init__.pyi rename to django-stubs-generated/contrib/sessions/backends/__init__.pyi diff --git a/django-stubs/contrib/sessions/backends/base.pyi b/django-stubs-generated/contrib/sessions/backends/base.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/base.pyi rename to django-stubs-generated/contrib/sessions/backends/base.pyi diff --git a/django-stubs/contrib/sessions/backends/cache.pyi b/django-stubs-generated/contrib/sessions/backends/cache.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/cache.pyi rename to django-stubs-generated/contrib/sessions/backends/cache.pyi diff --git a/django-stubs/contrib/sessions/backends/cached_db.pyi b/django-stubs-generated/contrib/sessions/backends/cached_db.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/cached_db.pyi rename to django-stubs-generated/contrib/sessions/backends/cached_db.pyi diff --git a/django-stubs/contrib/sessions/backends/db.pyi b/django-stubs-generated/contrib/sessions/backends/db.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/db.pyi rename to django-stubs-generated/contrib/sessions/backends/db.pyi diff --git a/django-stubs/contrib/sessions/backends/file.pyi b/django-stubs-generated/contrib/sessions/backends/file.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/file.pyi rename to django-stubs-generated/contrib/sessions/backends/file.pyi diff --git a/django-stubs/contrib/sessions/backends/signed_cookies.pyi b/django-stubs-generated/contrib/sessions/backends/signed_cookies.pyi similarity index 100% rename from django-stubs/contrib/sessions/backends/signed_cookies.pyi rename to django-stubs-generated/contrib/sessions/backends/signed_cookies.pyi diff --git a/django-stubs/contrib/sessions/base_session.pyi b/django-stubs-generated/contrib/sessions/base_session.pyi similarity index 100% rename from django-stubs/contrib/sessions/base_session.pyi rename to django-stubs-generated/contrib/sessions/base_session.pyi diff --git a/django-stubs/contrib/sessions/management/__init__.pyi b/django-stubs-generated/contrib/sessions/management/__init__.pyi similarity index 100% rename from django-stubs/contrib/sessions/management/__init__.pyi rename to django-stubs-generated/contrib/sessions/management/__init__.pyi diff --git a/django-stubs/contrib/sessions/management/commands/__init__.pyi b/django-stubs-generated/contrib/sessions/management/commands/__init__.pyi similarity index 100% rename from django-stubs/contrib/sessions/management/commands/__init__.pyi rename to django-stubs-generated/contrib/sessions/management/commands/__init__.pyi diff --git a/django-stubs/contrib/sessions/management/commands/clearsessions.pyi b/django-stubs-generated/contrib/sessions/management/commands/clearsessions.pyi similarity index 100% rename from django-stubs/contrib/sessions/management/commands/clearsessions.pyi rename to django-stubs-generated/contrib/sessions/management/commands/clearsessions.pyi diff --git a/django-stubs/contrib/sessions/middleware.pyi b/django-stubs-generated/contrib/sessions/middleware.pyi similarity index 100% rename from django-stubs/contrib/sessions/middleware.pyi rename to django-stubs-generated/contrib/sessions/middleware.pyi diff --git a/django-stubs/contrib/sessions/models.pyi b/django-stubs-generated/contrib/sessions/models.pyi similarity index 100% rename from django-stubs/contrib/sessions/models.pyi rename to django-stubs-generated/contrib/sessions/models.pyi diff --git a/django-stubs/contrib/sessions/serializers.pyi b/django-stubs-generated/contrib/sessions/serializers.pyi similarity index 100% rename from django-stubs/contrib/sessions/serializers.pyi rename to django-stubs-generated/contrib/sessions/serializers.pyi diff --git a/django-stubs/contrib/sitemaps/__init__.pyi b/django-stubs-generated/contrib/sitemaps/__init__.pyi similarity index 100% rename from django-stubs/contrib/sitemaps/__init__.pyi rename to django-stubs-generated/contrib/sitemaps/__init__.pyi diff --git a/django-stubs/contrib/sitemaps/management/__init__.pyi b/django-stubs-generated/contrib/sitemaps/management/__init__.pyi similarity index 100% rename from django-stubs/contrib/sitemaps/management/__init__.pyi rename to django-stubs-generated/contrib/sitemaps/management/__init__.pyi diff --git a/django-stubs/contrib/sitemaps/management/commands/__init__.pyi b/django-stubs-generated/contrib/sitemaps/management/commands/__init__.pyi similarity index 100% rename from django-stubs/contrib/sitemaps/management/commands/__init__.pyi rename to django-stubs-generated/contrib/sitemaps/management/commands/__init__.pyi diff --git a/django-stubs/contrib/sitemaps/management/commands/ping_google.pyi b/django-stubs-generated/contrib/sitemaps/management/commands/ping_google.pyi similarity index 100% rename from django-stubs/contrib/sitemaps/management/commands/ping_google.pyi rename to django-stubs-generated/contrib/sitemaps/management/commands/ping_google.pyi diff --git a/django-stubs/contrib/sitemaps/views.pyi b/django-stubs-generated/contrib/sitemaps/views.pyi similarity index 100% rename from django-stubs/contrib/sitemaps/views.pyi rename to django-stubs-generated/contrib/sitemaps/views.pyi diff --git a/django-stubs/contrib/sites/__init__.pyi b/django-stubs-generated/contrib/sites/__init__.pyi similarity index 100% rename from django-stubs/contrib/sites/__init__.pyi rename to django-stubs-generated/contrib/sites/__init__.pyi diff --git a/django-stubs/contrib/sites/apps.pyi b/django-stubs-generated/contrib/sites/apps.pyi similarity index 100% rename from django-stubs/contrib/sites/apps.pyi rename to django-stubs-generated/contrib/sites/apps.pyi diff --git a/django-stubs/contrib/sites/management.pyi b/django-stubs-generated/contrib/sites/management.pyi similarity index 100% rename from django-stubs/contrib/sites/management.pyi rename to django-stubs-generated/contrib/sites/management.pyi diff --git a/django-stubs/contrib/sites/managers.pyi b/django-stubs-generated/contrib/sites/managers.pyi similarity index 100% rename from django-stubs/contrib/sites/managers.pyi rename to django-stubs-generated/contrib/sites/managers.pyi diff --git a/django-stubs/contrib/sites/middleware.pyi b/django-stubs-generated/contrib/sites/middleware.pyi similarity index 100% rename from django-stubs/contrib/sites/middleware.pyi rename to django-stubs-generated/contrib/sites/middleware.pyi diff --git a/django-stubs/contrib/sites/models.pyi b/django-stubs-generated/contrib/sites/models.pyi similarity index 100% rename from django-stubs/contrib/sites/models.pyi rename to django-stubs-generated/contrib/sites/models.pyi diff --git a/django-stubs/contrib/sites/requests.pyi b/django-stubs-generated/contrib/sites/requests.pyi similarity index 100% rename from django-stubs/contrib/sites/requests.pyi rename to django-stubs-generated/contrib/sites/requests.pyi diff --git a/django-stubs/contrib/sites/shortcuts.pyi b/django-stubs-generated/contrib/sites/shortcuts.pyi similarity index 100% rename from django-stubs/contrib/sites/shortcuts.pyi rename to django-stubs-generated/contrib/sites/shortcuts.pyi diff --git a/django-stubs/contrib/staticfiles/__init__.pyi b/django-stubs-generated/contrib/staticfiles/__init__.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/__init__.pyi rename to django-stubs-generated/contrib/staticfiles/__init__.pyi diff --git a/django-stubs/contrib/staticfiles/apps.pyi b/django-stubs-generated/contrib/staticfiles/apps.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/apps.pyi rename to django-stubs-generated/contrib/staticfiles/apps.pyi diff --git a/django-stubs/contrib/staticfiles/checks.pyi b/django-stubs-generated/contrib/staticfiles/checks.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/checks.pyi rename to django-stubs-generated/contrib/staticfiles/checks.pyi diff --git a/django-stubs/contrib/staticfiles/finders.pyi b/django-stubs-generated/contrib/staticfiles/finders.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/finders.pyi rename to django-stubs-generated/contrib/staticfiles/finders.pyi diff --git a/django-stubs/contrib/staticfiles/handlers.pyi b/django-stubs-generated/contrib/staticfiles/handlers.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/handlers.pyi rename to django-stubs-generated/contrib/staticfiles/handlers.pyi diff --git a/django-stubs/contrib/staticfiles/management/__init__.pyi b/django-stubs-generated/contrib/staticfiles/management/__init__.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/management/__init__.pyi rename to django-stubs-generated/contrib/staticfiles/management/__init__.pyi diff --git a/django-stubs/contrib/staticfiles/management/commands/__init__.pyi b/django-stubs-generated/contrib/staticfiles/management/commands/__init__.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/management/commands/__init__.pyi rename to django-stubs-generated/contrib/staticfiles/management/commands/__init__.pyi diff --git a/django-stubs/contrib/staticfiles/management/commands/collectstatic.pyi b/django-stubs-generated/contrib/staticfiles/management/commands/collectstatic.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/management/commands/collectstatic.pyi rename to django-stubs-generated/contrib/staticfiles/management/commands/collectstatic.pyi diff --git a/django-stubs/contrib/staticfiles/management/commands/findstatic.pyi b/django-stubs-generated/contrib/staticfiles/management/commands/findstatic.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/management/commands/findstatic.pyi rename to django-stubs-generated/contrib/staticfiles/management/commands/findstatic.pyi diff --git a/django-stubs/contrib/staticfiles/management/commands/runserver.pyi b/django-stubs-generated/contrib/staticfiles/management/commands/runserver.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/management/commands/runserver.pyi rename to django-stubs-generated/contrib/staticfiles/management/commands/runserver.pyi diff --git a/django-stubs/contrib/staticfiles/storage.pyi b/django-stubs-generated/contrib/staticfiles/storage.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/storage.pyi rename to django-stubs-generated/contrib/staticfiles/storage.pyi diff --git a/django-stubs/contrib/staticfiles/templatetags/__init__.pyi b/django-stubs-generated/contrib/staticfiles/templatetags/__init__.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/templatetags/__init__.pyi rename to django-stubs-generated/contrib/staticfiles/templatetags/__init__.pyi diff --git a/django-stubs/contrib/staticfiles/templatetags/staticfiles.pyi b/django-stubs-generated/contrib/staticfiles/templatetags/staticfiles.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/templatetags/staticfiles.pyi rename to django-stubs-generated/contrib/staticfiles/templatetags/staticfiles.pyi diff --git a/django-stubs/contrib/staticfiles/urls.pyi b/django-stubs-generated/contrib/staticfiles/urls.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/urls.pyi rename to django-stubs-generated/contrib/staticfiles/urls.pyi diff --git a/django-stubs/contrib/staticfiles/utils.pyi b/django-stubs-generated/contrib/staticfiles/utils.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/utils.pyi rename to django-stubs-generated/contrib/staticfiles/utils.pyi diff --git a/django-stubs/contrib/staticfiles/views.pyi b/django-stubs-generated/contrib/staticfiles/views.pyi similarity index 100% rename from django-stubs/contrib/staticfiles/views.pyi rename to django-stubs-generated/contrib/staticfiles/views.pyi diff --git a/django-stubs/contrib/syndication/__init__.pyi b/django-stubs-generated/contrib/syndication/__init__.pyi similarity index 100% rename from django-stubs/contrib/syndication/__init__.pyi rename to django-stubs-generated/contrib/syndication/__init__.pyi diff --git a/django-stubs/contrib/syndication/views.pyi b/django-stubs-generated/contrib/syndication/views.pyi similarity index 100% rename from django-stubs/contrib/syndication/views.pyi rename to django-stubs-generated/contrib/syndication/views.pyi diff --git a/django-stubs/core/__init__.pyi b/django-stubs-generated/core/__init__.pyi similarity index 100% rename from django-stubs/core/__init__.pyi rename to django-stubs-generated/core/__init__.pyi diff --git a/django-stubs/core/cache/__init__.pyi b/django-stubs-generated/core/cache/__init__.pyi similarity index 100% rename from django-stubs/core/cache/__init__.pyi rename to django-stubs-generated/core/cache/__init__.pyi diff --git a/django-stubs/core/cache/backends/__init__.pyi b/django-stubs-generated/core/cache/backends/__init__.pyi similarity index 100% rename from django-stubs/core/cache/backends/__init__.pyi rename to django-stubs-generated/core/cache/backends/__init__.pyi diff --git a/django-stubs/core/cache/backends/base.pyi b/django-stubs-generated/core/cache/backends/base.pyi similarity index 100% rename from django-stubs/core/cache/backends/base.pyi rename to django-stubs-generated/core/cache/backends/base.pyi diff --git a/django-stubs/core/cache/backends/db.pyi b/django-stubs-generated/core/cache/backends/db.pyi similarity index 100% rename from django-stubs/core/cache/backends/db.pyi rename to django-stubs-generated/core/cache/backends/db.pyi diff --git a/django-stubs/core/cache/backends/dummy.pyi b/django-stubs-generated/core/cache/backends/dummy.pyi similarity index 100% rename from django-stubs/core/cache/backends/dummy.pyi rename to django-stubs-generated/core/cache/backends/dummy.pyi diff --git a/django-stubs/core/cache/backends/filebased.pyi b/django-stubs-generated/core/cache/backends/filebased.pyi similarity index 100% rename from django-stubs/core/cache/backends/filebased.pyi rename to django-stubs-generated/core/cache/backends/filebased.pyi diff --git a/django-stubs/core/cache/backends/locmem.pyi b/django-stubs-generated/core/cache/backends/locmem.pyi similarity index 100% rename from django-stubs/core/cache/backends/locmem.pyi rename to django-stubs-generated/core/cache/backends/locmem.pyi diff --git a/django-stubs/core/cache/utils.pyi b/django-stubs-generated/core/cache/utils.pyi similarity index 100% rename from django-stubs/core/cache/utils.pyi rename to django-stubs-generated/core/cache/utils.pyi diff --git a/django-stubs/core/checks/__init__.pyi b/django-stubs-generated/core/checks/__init__.pyi similarity index 100% rename from django-stubs/core/checks/__init__.pyi rename to django-stubs-generated/core/checks/__init__.pyi diff --git a/django-stubs/core/checks/caches.pyi b/django-stubs-generated/core/checks/caches.pyi similarity index 100% rename from django-stubs/core/checks/caches.pyi rename to django-stubs-generated/core/checks/caches.pyi diff --git a/django-stubs/core/checks/database.pyi b/django-stubs-generated/core/checks/database.pyi similarity index 100% rename from django-stubs/core/checks/database.pyi rename to django-stubs-generated/core/checks/database.pyi diff --git a/django-stubs/core/checks/messages.pyi b/django-stubs-generated/core/checks/messages.pyi similarity index 91% rename from django-stubs/core/checks/messages.pyi rename to django-stubs-generated/core/checks/messages.pyi index 8aea742..38d25ee 100644 --- a/django-stubs/core/checks/messages.pyi +++ b/django-stubs-generated/core/checks/messages.pyi @@ -35,7 +35,7 @@ class Warning(CheckMessage): id: str level: int msg: str - obj: django.db.models.fields.related.ForeignKey + obj: Any def __init__(self, *args: Any, **kwargs: Any) -> None: ... class Error(CheckMessage): @@ -43,7 +43,7 @@ class Error(CheckMessage): id: str level: int msg: str - obj: Type[django.contrib.admin.options.ModelAdmin] + obj: Any def __init__(self, *args: Any, **kwargs: Any) -> None: ... class Critical(CheckMessage): diff --git a/django-stubs/core/checks/model_checks.pyi b/django-stubs-generated/core/checks/model_checks.pyi similarity index 100% rename from django-stubs/core/checks/model_checks.pyi rename to django-stubs-generated/core/checks/model_checks.pyi diff --git a/django-stubs/core/checks/registry.pyi b/django-stubs-generated/core/checks/registry.pyi similarity index 100% rename from django-stubs/core/checks/registry.pyi rename to django-stubs-generated/core/checks/registry.pyi diff --git a/django-stubs/core/checks/security/__init__.pyi b/django-stubs-generated/core/checks/security/__init__.pyi similarity index 100% rename from django-stubs/core/checks/security/__init__.pyi rename to django-stubs-generated/core/checks/security/__init__.pyi diff --git a/django-stubs/core/checks/security/base.pyi b/django-stubs-generated/core/checks/security/base.pyi similarity index 100% rename from django-stubs/core/checks/security/base.pyi rename to django-stubs-generated/core/checks/security/base.pyi diff --git a/django-stubs/core/checks/security/csrf.pyi b/django-stubs-generated/core/checks/security/csrf.pyi similarity index 100% rename from django-stubs/core/checks/security/csrf.pyi rename to django-stubs-generated/core/checks/security/csrf.pyi diff --git a/django-stubs/core/checks/security/sessions.pyi b/django-stubs-generated/core/checks/security/sessions.pyi similarity index 100% rename from django-stubs/core/checks/security/sessions.pyi rename to django-stubs-generated/core/checks/security/sessions.pyi diff --git a/django-stubs/core/checks/templates.pyi b/django-stubs-generated/core/checks/templates.pyi similarity index 100% rename from django-stubs/core/checks/templates.pyi rename to django-stubs-generated/core/checks/templates.pyi diff --git a/django-stubs/core/checks/urls.pyi b/django-stubs-generated/core/checks/urls.pyi similarity index 100% rename from django-stubs/core/checks/urls.pyi rename to django-stubs-generated/core/checks/urls.pyi diff --git a/django-stubs/core/exceptions.pyi b/django-stubs-generated/core/exceptions.pyi similarity index 100% rename from django-stubs/core/exceptions.pyi rename to django-stubs-generated/core/exceptions.pyi diff --git a/django-stubs/core/files/__init__.pyi b/django-stubs-generated/core/files/__init__.pyi similarity index 100% rename from django-stubs/core/files/__init__.pyi rename to django-stubs-generated/core/files/__init__.pyi diff --git a/django-stubs/core/files/base.pyi b/django-stubs-generated/core/files/base.pyi similarity index 95% rename from django-stubs/core/files/base.pyi rename to django-stubs-generated/core/files/base.pyi index 1d9ec2c..3a82f44 100644 --- a/django-stubs/core/files/base.pyi +++ b/django-stubs-generated/core/files/base.pyi @@ -6,8 +6,8 @@ from django.core.files.utils import FileProxyMixin class File(FileProxyMixin): DEFAULT_CHUNK_SIZE: Any = ... - file: BufferedReader = ... - name: str = ... + file: StringIO = ... + name: Optional[str] = ... mode: str = ... def __init__(self, file: Any, name: Optional[str] = ...) -> None: ... def __bool__(self) -> bool: ... @@ -25,7 +25,6 @@ class File(FileProxyMixin): class ContentFile(File): file: StringIO - name: None size: Any = ... def __init__( self, content: Union[bytes, str], name: Optional[str] = ... diff --git a/django-stubs/core/files/images.pyi b/django-stubs-generated/core/files/images.pyi similarity index 83% rename from django-stubs/core/files/images.pyi rename to django-stubs-generated/core/files/images.pyi index c744460..046f3e0 100644 --- a/django-stubs/core/files/images.pyi +++ b/django-stubs-generated/core/files/images.pyi @@ -1,11 +1,11 @@ from io import BufferedReader, BytesIO -from typing import Any, Optional, Union +from typing import Any, Union from django.core.files import File class ImageFile(File): - file: _io.BufferedReader + file: BufferedReader mode: str name: str @property diff --git a/django-stubs/core/files/locks.pyi b/django-stubs-generated/core/files/locks.pyi similarity index 100% rename from django-stubs/core/files/locks.pyi rename to django-stubs-generated/core/files/locks.pyi diff --git a/django-stubs/core/files/move.pyi b/django-stubs-generated/core/files/move.pyi similarity index 100% rename from django-stubs/core/files/move.pyi rename to django-stubs-generated/core/files/move.pyi diff --git a/django-stubs/core/files/storage.pyi b/django-stubs-generated/core/files/storage.pyi similarity index 100% rename from django-stubs/core/files/storage.pyi rename to django-stubs-generated/core/files/storage.pyi diff --git a/django-stubs/core/files/uploadedfile.pyi b/django-stubs-generated/core/files/uploadedfile.pyi similarity index 100% rename from django-stubs/core/files/uploadedfile.pyi rename to django-stubs-generated/core/files/uploadedfile.pyi diff --git a/django-stubs/core/files/uploadhandler.pyi b/django-stubs-generated/core/files/uploadhandler.pyi similarity index 100% rename from django-stubs/core/files/uploadhandler.pyi rename to django-stubs-generated/core/files/uploadhandler.pyi diff --git a/django-stubs/core/files/utils.pyi b/django-stubs-generated/core/files/utils.pyi similarity index 100% rename from django-stubs/core/files/utils.pyi rename to django-stubs-generated/core/files/utils.pyi diff --git a/django-stubs/core/handlers/__init__.pyi b/django-stubs-generated/core/handlers/__init__.pyi similarity index 100% rename from django-stubs/core/handlers/__init__.pyi rename to django-stubs-generated/core/handlers/__init__.pyi diff --git a/django-stubs/core/handlers/base.pyi b/django-stubs-generated/core/handlers/base.pyi similarity index 100% rename from django-stubs/core/handlers/base.pyi rename to django-stubs-generated/core/handlers/base.pyi diff --git a/django-stubs/core/handlers/exception.pyi b/django-stubs-generated/core/handlers/exception.pyi similarity index 100% rename from django-stubs/core/handlers/exception.pyi rename to django-stubs-generated/core/handlers/exception.pyi diff --git a/django-stubs/core/handlers/wsgi.pyi b/django-stubs-generated/core/handlers/wsgi.pyi similarity index 100% rename from django-stubs/core/handlers/wsgi.pyi rename to django-stubs-generated/core/handlers/wsgi.pyi diff --git a/django-stubs/core/mail/__init__.pyi b/django-stubs-generated/core/mail/__init__.pyi similarity index 100% rename from django-stubs/core/mail/__init__.pyi rename to django-stubs-generated/core/mail/__init__.pyi diff --git a/django-stubs/core/mail/backends/__init__.pyi b/django-stubs-generated/core/mail/backends/__init__.pyi similarity index 100% rename from django-stubs/core/mail/backends/__init__.pyi rename to django-stubs-generated/core/mail/backends/__init__.pyi diff --git a/django-stubs/core/mail/backends/base.pyi b/django-stubs-generated/core/mail/backends/base.pyi similarity index 100% rename from django-stubs/core/mail/backends/base.pyi rename to django-stubs-generated/core/mail/backends/base.pyi diff --git a/django-stubs/core/mail/backends/console.pyi b/django-stubs-generated/core/mail/backends/console.pyi similarity index 100% rename from django-stubs/core/mail/backends/console.pyi rename to django-stubs-generated/core/mail/backends/console.pyi diff --git a/django-stubs/core/mail/backends/dummy.pyi b/django-stubs-generated/core/mail/backends/dummy.pyi similarity index 100% rename from django-stubs/core/mail/backends/dummy.pyi rename to django-stubs-generated/core/mail/backends/dummy.pyi diff --git a/django-stubs/core/mail/backends/filebased.pyi b/django-stubs-generated/core/mail/backends/filebased.pyi similarity index 100% rename from django-stubs/core/mail/backends/filebased.pyi rename to django-stubs-generated/core/mail/backends/filebased.pyi diff --git a/django-stubs/core/mail/backends/locmem.pyi b/django-stubs-generated/core/mail/backends/locmem.pyi similarity index 100% rename from django-stubs/core/mail/backends/locmem.pyi rename to django-stubs-generated/core/mail/backends/locmem.pyi diff --git a/django-stubs/core/mail/backends/smtp.pyi b/django-stubs-generated/core/mail/backends/smtp.pyi similarity index 100% rename from django-stubs/core/mail/backends/smtp.pyi rename to django-stubs-generated/core/mail/backends/smtp.pyi diff --git a/django-stubs/core/mail/message.pyi b/django-stubs-generated/core/mail/message.pyi similarity index 100% rename from django-stubs/core/mail/message.pyi rename to django-stubs-generated/core/mail/message.pyi diff --git a/django-stubs/core/mail/utils.pyi b/django-stubs-generated/core/mail/utils.pyi similarity index 100% rename from django-stubs/core/mail/utils.pyi rename to django-stubs-generated/core/mail/utils.pyi diff --git a/django-stubs/core/management/__init__.pyi b/django-stubs-generated/core/management/__init__.pyi similarity index 100% rename from django-stubs/core/management/__init__.pyi rename to django-stubs-generated/core/management/__init__.pyi diff --git a/django-stubs/core/management/base.pyi b/django-stubs-generated/core/management/base.pyi similarity index 100% rename from django-stubs/core/management/base.pyi rename to django-stubs-generated/core/management/base.pyi diff --git a/django-stubs/core/management/color.pyi b/django-stubs-generated/core/management/color.pyi similarity index 100% rename from django-stubs/core/management/color.pyi rename to django-stubs-generated/core/management/color.pyi diff --git a/django-stubs/core/management/commands/__init__.pyi b/django-stubs-generated/core/management/commands/__init__.pyi similarity index 100% rename from django-stubs/core/management/commands/__init__.pyi rename to django-stubs-generated/core/management/commands/__init__.pyi diff --git a/django-stubs/core/management/commands/check.pyi b/django-stubs-generated/core/management/commands/check.pyi similarity index 100% rename from django-stubs/core/management/commands/check.pyi rename to django-stubs-generated/core/management/commands/check.pyi diff --git a/django-stubs/core/management/commands/compilemessages.pyi b/django-stubs-generated/core/management/commands/compilemessages.pyi similarity index 100% rename from django-stubs/core/management/commands/compilemessages.pyi rename to django-stubs-generated/core/management/commands/compilemessages.pyi diff --git a/django-stubs/core/management/commands/createcachetable.pyi b/django-stubs-generated/core/management/commands/createcachetable.pyi similarity index 100% rename from django-stubs/core/management/commands/createcachetable.pyi rename to django-stubs-generated/core/management/commands/createcachetable.pyi diff --git a/django-stubs/core/management/commands/dumpdata.pyi b/django-stubs-generated/core/management/commands/dumpdata.pyi similarity index 100% rename from django-stubs/core/management/commands/dumpdata.pyi rename to django-stubs-generated/core/management/commands/dumpdata.pyi diff --git a/django-stubs/core/management/commands/flush.pyi b/django-stubs-generated/core/management/commands/flush.pyi similarity index 100% rename from django-stubs/core/management/commands/flush.pyi rename to django-stubs-generated/core/management/commands/flush.pyi diff --git a/django-stubs/core/management/commands/inspectdb.pyi b/django-stubs-generated/core/management/commands/inspectdb.pyi similarity index 100% rename from django-stubs/core/management/commands/inspectdb.pyi rename to django-stubs-generated/core/management/commands/inspectdb.pyi diff --git a/django-stubs/core/management/commands/loaddata.pyi b/django-stubs-generated/core/management/commands/loaddata.pyi similarity index 100% rename from django-stubs/core/management/commands/loaddata.pyi rename to django-stubs-generated/core/management/commands/loaddata.pyi diff --git a/django-stubs/core/management/commands/makemessages.pyi b/django-stubs-generated/core/management/commands/makemessages.pyi similarity index 100% rename from django-stubs/core/management/commands/makemessages.pyi rename to django-stubs-generated/core/management/commands/makemessages.pyi diff --git a/django-stubs/core/management/commands/makemigrations.pyi b/django-stubs-generated/core/management/commands/makemigrations.pyi similarity index 100% rename from django-stubs/core/management/commands/makemigrations.pyi rename to django-stubs-generated/core/management/commands/makemigrations.pyi diff --git a/django-stubs/core/management/commands/migrate.pyi b/django-stubs-generated/core/management/commands/migrate.pyi similarity index 100% rename from django-stubs/core/management/commands/migrate.pyi rename to django-stubs-generated/core/management/commands/migrate.pyi diff --git a/django-stubs/core/management/commands/runserver.pyi b/django-stubs-generated/core/management/commands/runserver.pyi similarity index 100% rename from django-stubs/core/management/commands/runserver.pyi rename to django-stubs-generated/core/management/commands/runserver.pyi diff --git a/django-stubs/core/management/commands/sendtestemail.pyi b/django-stubs-generated/core/management/commands/sendtestemail.pyi similarity index 100% rename from django-stubs/core/management/commands/sendtestemail.pyi rename to django-stubs-generated/core/management/commands/sendtestemail.pyi diff --git a/django-stubs/core/management/commands/shell.pyi b/django-stubs-generated/core/management/commands/shell.pyi similarity index 100% rename from django-stubs/core/management/commands/shell.pyi rename to django-stubs-generated/core/management/commands/shell.pyi diff --git a/django-stubs/core/management/commands/showmigrations.pyi b/django-stubs-generated/core/management/commands/showmigrations.pyi similarity index 100% rename from django-stubs/core/management/commands/showmigrations.pyi rename to django-stubs-generated/core/management/commands/showmigrations.pyi diff --git a/django-stubs/core/management/commands/sqlmigrate.pyi b/django-stubs-generated/core/management/commands/sqlmigrate.pyi similarity index 100% rename from django-stubs/core/management/commands/sqlmigrate.pyi rename to django-stubs-generated/core/management/commands/sqlmigrate.pyi diff --git a/django-stubs/core/management/commands/squashmigrations.pyi b/django-stubs-generated/core/management/commands/squashmigrations.pyi similarity index 100% rename from django-stubs/core/management/commands/squashmigrations.pyi rename to django-stubs-generated/core/management/commands/squashmigrations.pyi diff --git a/django-stubs/core/management/commands/test.pyi b/django-stubs-generated/core/management/commands/test.pyi similarity index 100% rename from django-stubs/core/management/commands/test.pyi rename to django-stubs-generated/core/management/commands/test.pyi diff --git a/django-stubs/core/management/commands/testserver.pyi b/django-stubs-generated/core/management/commands/testserver.pyi similarity index 100% rename from django-stubs/core/management/commands/testserver.pyi rename to django-stubs-generated/core/management/commands/testserver.pyi diff --git a/django-stubs/core/management/sql.pyi b/django-stubs-generated/core/management/sql.pyi similarity index 100% rename from django-stubs/core/management/sql.pyi rename to django-stubs-generated/core/management/sql.pyi diff --git a/django-stubs/core/management/templates.pyi b/django-stubs-generated/core/management/templates.pyi similarity index 100% rename from django-stubs/core/management/templates.pyi rename to django-stubs-generated/core/management/templates.pyi diff --git a/django-stubs/core/management/utils.pyi b/django-stubs-generated/core/management/utils.pyi similarity index 100% rename from django-stubs/core/management/utils.pyi rename to django-stubs-generated/core/management/utils.pyi diff --git a/django-stubs/core/paginator.pyi b/django-stubs-generated/core/paginator.pyi similarity index 100% rename from django-stubs/core/paginator.pyi rename to django-stubs-generated/core/paginator.pyi diff --git a/django-stubs/core/serializers/__init__.pyi b/django-stubs-generated/core/serializers/__init__.pyi similarity index 100% rename from django-stubs/core/serializers/__init__.pyi rename to django-stubs-generated/core/serializers/__init__.pyi diff --git a/django-stubs/core/serializers/base.pyi b/django-stubs-generated/core/serializers/base.pyi similarity index 100% rename from django-stubs/core/serializers/base.pyi rename to django-stubs-generated/core/serializers/base.pyi diff --git a/django-stubs/core/serializers/json.pyi b/django-stubs-generated/core/serializers/json.pyi similarity index 100% rename from django-stubs/core/serializers/json.pyi rename to django-stubs-generated/core/serializers/json.pyi diff --git a/django-stubs/core/serializers/python.pyi b/django-stubs-generated/core/serializers/python.pyi similarity index 100% rename from django-stubs/core/serializers/python.pyi rename to django-stubs-generated/core/serializers/python.pyi diff --git a/django-stubs/core/serializers/pyyaml.pyi b/django-stubs-generated/core/serializers/pyyaml.pyi similarity index 100% rename from django-stubs/core/serializers/pyyaml.pyi rename to django-stubs-generated/core/serializers/pyyaml.pyi diff --git a/django-stubs/core/serializers/xml_serializer.pyi b/django-stubs-generated/core/serializers/xml_serializer.pyi similarity index 100% rename from django-stubs/core/serializers/xml_serializer.pyi rename to django-stubs-generated/core/serializers/xml_serializer.pyi diff --git a/django-stubs/core/servers/__init__.pyi b/django-stubs-generated/core/servers/__init__.pyi similarity index 100% rename from django-stubs/core/servers/__init__.pyi rename to django-stubs-generated/core/servers/__init__.pyi diff --git a/django-stubs/core/servers/basehttp.pyi b/django-stubs-generated/core/servers/basehttp.pyi similarity index 86% rename from django-stubs/core/servers/basehttp.pyi rename to django-stubs-generated/core/servers/basehttp.pyi index 17c2d17..7dc4a1d 100644 --- a/django-stubs/core/servers/basehttp.pyi +++ b/django-stubs-generated/core/servers/basehttp.pyi @@ -1,7 +1,10 @@ import socketserver -from typing import Any, Dict, Optional +from io import BytesIO +from typing import Any, Dict from wsgiref import simple_server +from django.core.handlers.wsgi import WSGIRequest + class WSGIServer(simple_server.WSGIServer): request_queue_size: int = ... @@ -25,9 +28,9 @@ class ServerHandler(simple_server.ServerHandler): class WSGIRequestHandler(simple_server.WSGIRequestHandler): client_address: str close_connection: bool - connection: django.core.handlers.wsgi.WSGIRequest - request: django.core.handlers.wsgi.WSGIRequest - rfile: _io.BytesIO + connection: WSGIRequest + request: WSGIRequest + rfile: BytesIO server: None wfile: socketserver._SocketWriter protocol_version: str = ... diff --git a/django-stubs/core/signing.pyi b/django-stubs-generated/core/signing.pyi similarity index 100% rename from django-stubs/core/signing.pyi rename to django-stubs-generated/core/signing.pyi diff --git a/django-stubs/core/validators.pyi b/django-stubs-generated/core/validators.pyi similarity index 100% rename from django-stubs/core/validators.pyi rename to django-stubs-generated/core/validators.pyi diff --git a/django-stubs/core/wsgi.pyi b/django-stubs-generated/core/wsgi.pyi similarity index 100% rename from django-stubs/core/wsgi.pyi rename to django-stubs-generated/core/wsgi.pyi diff --git a/django-stubs/db/__init__.pyi b/django-stubs-generated/db/__init__.pyi similarity index 94% rename from django-stubs/db/__init__.pyi rename to django-stubs-generated/db/__init__.pyi index e0bc937..457b8cb 100644 --- a/django-stubs/db/__init__.pyi +++ b/django-stubs-generated/db/__init__.pyi @@ -22,6 +22,5 @@ class DefaultConnectionProxy: def __getattr__(self, item: str) -> Any: ... def __setattr__(self, name: str, value: Union[bool, MagicMock]) -> None: ... def __delattr__(self, name: str) -> None: ... - def __eq__(self, other: DatabaseWrapper) -> bool: ... connection: Any diff --git a/django-stubs/db/backends/__init__.pyi b/django-stubs-generated/db/backends/__init__.pyi similarity index 100% rename from django-stubs/db/backends/__init__.pyi rename to django-stubs-generated/db/backends/__init__.pyi diff --git a/django-stubs/db/backends/base/__init__.pyi b/django-stubs-generated/db/backends/base/__init__.pyi similarity index 100% rename from django-stubs/db/backends/base/__init__.pyi rename to django-stubs-generated/db/backends/base/__init__.pyi diff --git a/django-stubs/db/backends/base/base.pyi b/django-stubs-generated/db/backends/base/base.pyi similarity index 100% rename from django-stubs/db/backends/base/base.pyi rename to django-stubs-generated/db/backends/base/base.pyi diff --git a/django-stubs/db/backends/base/client.pyi b/django-stubs-generated/db/backends/base/client.pyi similarity index 100% rename from django-stubs/db/backends/base/client.pyi rename to django-stubs-generated/db/backends/base/client.pyi diff --git a/django-stubs/db/backends/base/creation.pyi b/django-stubs-generated/db/backends/base/creation.pyi similarity index 100% rename from django-stubs/db/backends/base/creation.pyi rename to django-stubs-generated/db/backends/base/creation.pyi diff --git a/django-stubs/db/backends/base/features.pyi b/django-stubs-generated/db/backends/base/features.pyi similarity index 100% rename from django-stubs/db/backends/base/features.pyi rename to django-stubs-generated/db/backends/base/features.pyi diff --git a/django-stubs/db/backends/base/introspection.pyi b/django-stubs-generated/db/backends/base/introspection.pyi similarity index 100% rename from django-stubs/db/backends/base/introspection.pyi rename to django-stubs-generated/db/backends/base/introspection.pyi diff --git a/django-stubs/db/backends/base/operations.pyi b/django-stubs-generated/db/backends/base/operations.pyi similarity index 100% rename from django-stubs/db/backends/base/operations.pyi rename to django-stubs-generated/db/backends/base/operations.pyi diff --git a/django-stubs/db/backends/base/schema.pyi b/django-stubs-generated/db/backends/base/schema.pyi similarity index 100% rename from django-stubs/db/backends/base/schema.pyi rename to django-stubs-generated/db/backends/base/schema.pyi diff --git a/django-stubs/db/backends/base/validation.pyi b/django-stubs-generated/db/backends/base/validation.pyi similarity index 100% rename from django-stubs/db/backends/base/validation.pyi rename to django-stubs-generated/db/backends/base/validation.pyi diff --git a/django-stubs/db/backends/ddl_references.pyi b/django-stubs-generated/db/backends/ddl_references.pyi similarity index 93% rename from django-stubs/db/backends/ddl_references.pyi rename to django-stubs-generated/db/backends/ddl_references.pyi index 32afd54..2844b74 100644 --- a/django-stubs/db/backends/ddl_references.pyi +++ b/django-stubs-generated/db/backends/ddl_references.pyi @@ -1,4 +1,4 @@ -from typing import Any, Callable, List, Optional, Tuple, Union +from typing import Any, Callable, List, Tuple, Union, Dict class Reference: @@ -58,7 +58,7 @@ class IndexName(TableColumns): class ForeignKeyName(TableColumns): columns: List[str] table: str - to_reference: django.db.backends.ddl_references.TableColumns = ... + to_reference: TableColumns = ... suffix_template: str = ... create_fk_name: Callable = ... def __init__( @@ -81,7 +81,7 @@ class ForeignKeyName(TableColumns): class Statement(Reference): template: str = ... - parts: Dict[str, django.db.backends.ddl_references.Table] = ... + parts: Dict[str, Table] = ... def __init__(self, template: str, **parts: Any) -> None: ... def references_table(self, table: str) -> bool: ... def references_column(self, table: str, column: str) -> bool: ... diff --git a/django-stubs/db/backends/dummy/__init__.pyi b/django-stubs-generated/db/backends/dummy/__init__.pyi similarity index 100% rename from django-stubs/db/backends/dummy/__init__.pyi rename to django-stubs-generated/db/backends/dummy/__init__.pyi diff --git a/django-stubs/db/backends/dummy/base.pyi b/django-stubs-generated/db/backends/dummy/base.pyi similarity index 100% rename from django-stubs/db/backends/dummy/base.pyi rename to django-stubs-generated/db/backends/dummy/base.pyi diff --git a/django-stubs/db/backends/mysql/__init__.pyi b/django-stubs-generated/db/backends/mysql/__init__.pyi similarity index 100% rename from django-stubs/db/backends/mysql/__init__.pyi rename to django-stubs-generated/db/backends/mysql/__init__.pyi diff --git a/django-stubs/db/backends/mysql/client.pyi b/django-stubs-generated/db/backends/mysql/client.pyi similarity index 100% rename from django-stubs/db/backends/mysql/client.pyi rename to django-stubs-generated/db/backends/mysql/client.pyi diff --git a/django-stubs/db/backends/postgresql/__init__.pyi b/django-stubs-generated/db/backends/postgresql/__init__.pyi similarity index 100% rename from django-stubs/db/backends/postgresql/__init__.pyi rename to django-stubs-generated/db/backends/postgresql/__init__.pyi diff --git a/django-stubs/db/backends/postgresql/client.pyi b/django-stubs-generated/db/backends/postgresql/client.pyi similarity index 100% rename from django-stubs/db/backends/postgresql/client.pyi rename to django-stubs-generated/db/backends/postgresql/client.pyi diff --git a/django-stubs/db/backends/sqlite3/__init__.pyi b/django-stubs-generated/db/backends/sqlite3/__init__.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/__init__.pyi rename to django-stubs-generated/db/backends/sqlite3/__init__.pyi diff --git a/django-stubs/db/backends/sqlite3/base.pyi b/django-stubs-generated/db/backends/sqlite3/base.pyi similarity index 83% rename from django-stubs/db/backends/sqlite3/base.pyi rename to django-stubs-generated/db/backends/sqlite3/base.pyi index 3523af1..7c6eadd 100644 --- a/django-stubs/db/backends/sqlite3/base.pyi +++ b/django-stubs-generated/db/backends/sqlite3/base.pyi @@ -1,16 +1,17 @@ +import collections from datetime import datetime from sqlite3 import Connection from sqlite3 import dbapi2 as Database from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union from django.db.backends.base.base import BaseDatabaseWrapper +from django.db.backends.base.validation import BaseDatabaseValidation +from django.db.backends.sqlite3.client import DatabaseClient -from .client import DatabaseClient from .creation import DatabaseCreation from .features import DatabaseFeatures from .introspection import DatabaseIntrospection from .operations import DatabaseOperations -from .schema import DatabaseSchemaEditor def decoder(conv_func: Callable) -> Callable: ... @@ -19,27 +20,27 @@ class DatabaseWrapper(BaseDatabaseWrapper): alias: str allow_thread_sharing: bool autocommit: bool - client: django.db.backends.sqlite3.client.DatabaseClient + client: DatabaseClient close_at: None closed_in_transaction: bool commit_on_exit: bool connection: None - creation: django.db.backends.sqlite3.creation.DatabaseCreation + creation: DatabaseCreation errors_occurred: bool execute_wrappers: List[Any] - features: django.db.backends.sqlite3.features.DatabaseFeatures + features: DatabaseFeatures force_debug_cursor: bool in_atomic_block: bool - introspection: django.db.backends.sqlite3.introspection.DatabaseIntrospection + introspection: DatabaseIntrospection needs_rollback: bool - ops: django.db.backends.sqlite3.operations.DatabaseOperations + ops: DatabaseOperations queries_log: collections.deque run_commit_hooks_on_set_autocommit_on: bool run_on_commit: List[Any] savepoint_ids: List[Any] savepoint_state: int settings_dict: Dict[str, Optional[Union[Dict[str, None], int, str]]] - validation: django.db.backends.base.validation.BaseDatabaseValidation + validation: BaseDatabaseValidation vendor: str = ... display_name: str = ... data_types: Any = ... diff --git a/django-stubs/db/backends/sqlite3/creation.pyi b/django-stubs-generated/db/backends/sqlite3/creation.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/creation.pyi rename to django-stubs-generated/db/backends/sqlite3/creation.pyi diff --git a/django-stubs/db/backends/sqlite3/features.pyi b/django-stubs-generated/db/backends/sqlite3/features.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/features.pyi rename to django-stubs-generated/db/backends/sqlite3/features.pyi diff --git a/django-stubs/db/backends/sqlite3/introspection.pyi b/django-stubs-generated/db/backends/sqlite3/introspection.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/introspection.pyi rename to django-stubs-generated/db/backends/sqlite3/introspection.pyi diff --git a/django-stubs/db/backends/sqlite3/operations.pyi b/django-stubs-generated/db/backends/sqlite3/operations.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/operations.pyi rename to django-stubs-generated/db/backends/sqlite3/operations.pyi diff --git a/django-stubs/db/backends/sqlite3/schema.pyi b/django-stubs-generated/db/backends/sqlite3/schema.pyi similarity index 100% rename from django-stubs/db/backends/sqlite3/schema.pyi rename to django-stubs-generated/db/backends/sqlite3/schema.pyi diff --git a/django-stubs/db/backends/utils.pyi b/django-stubs-generated/db/backends/utils.pyi similarity index 100% rename from django-stubs/db/backends/utils.pyi rename to django-stubs-generated/db/backends/utils.pyi diff --git a/django-stubs/db/migrations/__init__.pyi b/django-stubs-generated/db/migrations/__init__.pyi similarity index 100% rename from django-stubs/db/migrations/__init__.pyi rename to django-stubs-generated/db/migrations/__init__.pyi diff --git a/django-stubs/db/migrations/autodetector.pyi b/django-stubs-generated/db/migrations/autodetector.pyi similarity index 100% rename from django-stubs/db/migrations/autodetector.pyi rename to django-stubs-generated/db/migrations/autodetector.pyi diff --git a/django-stubs/db/migrations/exceptions.pyi b/django-stubs-generated/db/migrations/exceptions.pyi similarity index 100% rename from django-stubs/db/migrations/exceptions.pyi rename to django-stubs-generated/db/migrations/exceptions.pyi diff --git a/django-stubs/db/migrations/executor.pyi b/django-stubs-generated/db/migrations/executor.pyi similarity index 100% rename from django-stubs/db/migrations/executor.pyi rename to django-stubs-generated/db/migrations/executor.pyi diff --git a/django-stubs/db/migrations/graph.pyi b/django-stubs-generated/db/migrations/graph.pyi similarity index 100% rename from django-stubs/db/migrations/graph.pyi rename to django-stubs-generated/db/migrations/graph.pyi diff --git a/django-stubs/db/migrations/loader.pyi b/django-stubs-generated/db/migrations/loader.pyi similarity index 100% rename from django-stubs/db/migrations/loader.pyi rename to django-stubs-generated/db/migrations/loader.pyi diff --git a/django-stubs/db/migrations/migration.pyi b/django-stubs-generated/db/migrations/migration.pyi similarity index 93% rename from django-stubs/db/migrations/migration.pyi rename to django-stubs-generated/db/migrations/migration.pyi index ca70774..39ed985 100644 --- a/django-stubs/db/migrations/migration.pyi +++ b/django-stubs-generated/db/migrations/migration.pyi @@ -1,10 +1,8 @@ -from typing import Any, Optional, Tuple, Type +from typing import Any, Tuple, Type, List from django.db.backends.sqlite3.schema import DatabaseSchemaEditor from django.db.migrations.state import ProjectState -from .exceptions import IrreversibleError - class Migration: operations: List[Any] = ... diff --git a/django-stubs/db/migrations/operations/__init__.pyi b/django-stubs-generated/db/migrations/operations/__init__.pyi similarity index 100% rename from django-stubs/db/migrations/operations/__init__.pyi rename to django-stubs-generated/db/migrations/operations/__init__.pyi diff --git a/django-stubs/db/migrations/operations/base.pyi b/django-stubs-generated/db/migrations/operations/base.pyi similarity index 100% rename from django-stubs/db/migrations/operations/base.pyi rename to django-stubs-generated/db/migrations/operations/base.pyi diff --git a/django-stubs/db/migrations/operations/fields.pyi b/django-stubs-generated/db/migrations/operations/fields.pyi similarity index 100% rename from django-stubs/db/migrations/operations/fields.pyi rename to django-stubs-generated/db/migrations/operations/fields.pyi diff --git a/django-stubs/db/migrations/operations/models.pyi b/django-stubs-generated/db/migrations/operations/models.pyi similarity index 100% rename from django-stubs/db/migrations/operations/models.pyi rename to django-stubs-generated/db/migrations/operations/models.pyi diff --git a/django-stubs/db/migrations/operations/special.pyi b/django-stubs-generated/db/migrations/operations/special.pyi similarity index 100% rename from django-stubs/db/migrations/operations/special.pyi rename to django-stubs-generated/db/migrations/operations/special.pyi diff --git a/django-stubs/db/migrations/operations/utils.pyi b/django-stubs-generated/db/migrations/operations/utils.pyi similarity index 100% rename from django-stubs/db/migrations/operations/utils.pyi rename to django-stubs-generated/db/migrations/operations/utils.pyi diff --git a/django-stubs/db/migrations/optimizer.pyi b/django-stubs-generated/db/migrations/optimizer.pyi similarity index 100% rename from django-stubs/db/migrations/optimizer.pyi rename to django-stubs-generated/db/migrations/optimizer.pyi diff --git a/django-stubs/db/migrations/questioner.pyi b/django-stubs-generated/db/migrations/questioner.pyi similarity index 100% rename from django-stubs/db/migrations/questioner.pyi rename to django-stubs-generated/db/migrations/questioner.pyi diff --git a/django-stubs/db/migrations/recorder.pyi b/django-stubs-generated/db/migrations/recorder.pyi similarity index 100% rename from django-stubs/db/migrations/recorder.pyi rename to django-stubs-generated/db/migrations/recorder.pyi diff --git a/django-stubs/db/migrations/serializer.pyi b/django-stubs-generated/db/migrations/serializer.pyi similarity index 100% rename from django-stubs/db/migrations/serializer.pyi rename to django-stubs-generated/db/migrations/serializer.pyi diff --git a/django-stubs/db/migrations/state.pyi b/django-stubs-generated/db/migrations/state.pyi similarity index 100% rename from django-stubs/db/migrations/state.pyi rename to django-stubs-generated/db/migrations/state.pyi diff --git a/django-stubs/db/migrations/topological_sort.pyi b/django-stubs-generated/db/migrations/topological_sort.pyi similarity index 100% rename from django-stubs/db/migrations/topological_sort.pyi rename to django-stubs-generated/db/migrations/topological_sort.pyi diff --git a/django-stubs/db/migrations/utils.pyi b/django-stubs-generated/db/migrations/utils.pyi similarity index 100% rename from django-stubs/db/migrations/utils.pyi rename to django-stubs-generated/db/migrations/utils.pyi diff --git a/django-stubs/db/migrations/writer.pyi b/django-stubs-generated/db/migrations/writer.pyi similarity index 100% rename from django-stubs/db/migrations/writer.pyi rename to django-stubs-generated/db/migrations/writer.pyi diff --git a/django-stubs/db/models/__init__.pyi b/django-stubs-generated/db/models/__init__.pyi similarity index 100% rename from django-stubs/db/models/__init__.pyi rename to django-stubs-generated/db/models/__init__.pyi diff --git a/django-stubs/db/models/aggregates.pyi b/django-stubs-generated/db/models/aggregates.pyi similarity index 100% rename from django-stubs/db/models/aggregates.pyi rename to django-stubs-generated/db/models/aggregates.pyi diff --git a/django-stubs/db/models/base.pyi b/django-stubs-generated/db/models/base.pyi similarity index 100% rename from django-stubs/db/models/base.pyi rename to django-stubs-generated/db/models/base.pyi diff --git a/django-stubs/db/models/deletion.pyi b/django-stubs-generated/db/models/deletion.pyi similarity index 100% rename from django-stubs/db/models/deletion.pyi rename to django-stubs-generated/db/models/deletion.pyi diff --git a/django-stubs/db/models/expressions.pyi b/django-stubs-generated/db/models/expressions.pyi similarity index 96% rename from django-stubs/db/models/expressions.pyi rename to django-stubs-generated/db/models/expressions.pyi index e44568f..250f6f0 100644 --- a/django-stubs/db/models/expressions.pyi +++ b/django-stubs-generated/db/models/expressions.pyi @@ -5,7 +5,7 @@ from typing import (Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, from django.db.backends.sqlite3.base import DatabaseWrapper from django.db.models.aggregates import Aggregate, Count -from django.db.models.fields import Field +from django.db.models.fields import Field, DurationField from django.db.models.fields.reverse_related import ForeignObjectRel from django.db.models.functions.window import DenseRank from django.db.models.lookups import (FieldGetDbPrepValueMixin, Lookup, @@ -93,7 +93,7 @@ class BaseExpression: for_save: bool = ..., ) -> BaseExpression: ... @property - def field(self) -> Union[Field, reverse_related.ForeignObjectRel]: ... + def field(self) -> Field: ... def output_field(self) -> Field: ... def convert_value(self) -> Callable: ... def get_lookup( @@ -243,13 +243,13 @@ class Value(Expression): def get_group_by_cols(self) -> List[Any]: ... class DurationValue(Value): - output_field: django.db.models.fields.DurationField + output_field: DurationField def as_sql( self, compiler: SQLCompiler, connection: DatabaseWrapper ) -> Tuple[str, List[Any]]: ... class RawSQL(Expression): - output_field: django.db.models.fields.Field + output_field: Field params: List[Any] sql: str def __init__( @@ -274,15 +274,13 @@ class Random(Expression): def as_sql(self, compiler: Any, connection: Any): ... class Col(Expression): - output_field: django.db.models.fields.CharField + output_field: Field contains_column_references: bool = ... def __init__( self, alias: str, target: Union[Field, str], - output_field: Optional[ - Union[Field, reverse_related.ForeignObjectRel] - ] = ..., + output_field: Optional[Field] = ..., ) -> None: ... def as_sql( self, compiler: SQLCompiler, connection: DatabaseWrapper @@ -320,7 +318,6 @@ class ExpressionList(Func): def __init__(self, *expressions: Any, **extra: Any) -> None: ... class ExpressionWrapper(Expression): - output_field: django.db.models.fields.BooleanField expression: Any = ... def __init__( self, expression: Union[CombinedExpression, Q], output_field: Field @@ -399,7 +396,7 @@ class Case(Expression): class Subquery(Expression): template: str = ... - queryset: django.db.models.query.QuerySet = ... + queryset: QuerySet = ... extra: Dict[Any, Any] = ... def __init__( self, @@ -429,13 +426,11 @@ class Subquery(Expression): class Exists(Subquery): extra: Dict[Any, Any] template: str = ... - output_field: Any = ... negated: bool = ... def __init__( self, *args: Any, negated: bool = ..., **kwargs: Any ) -> None: ... def __invert__(self) -> Exists: ... - queryset: django.db.models.query.QuerySet = ... def resolve_expression( self, query: Query = ..., *args: Any, **kwargs: Any ) -> Exists: ... @@ -459,7 +454,7 @@ class OrderBy(BaseExpression): nulls_first: bool = ... nulls_last: bool = ... descending: bool = ... - expression: django.db.models.expressions.Col = ... + expression: Expression = ... def __init__( self, expression: Combinable, @@ -493,7 +488,7 @@ class Window(Expression): partition_by: None = ... order_by: None = ... frame: None = ... - source_expression: django.db.models.aggregates.Sum = ... + source_expression: Expression = ... def __init__( self, expression: Aggregate, diff --git a/django-stubs/db/models/fields/__init__.pyi b/django-stubs-generated/db/models/fields/__init__.pyi similarity index 95% rename from django-stubs/db/models/fields/__init__.pyi rename to django-stubs-generated/db/models/fields/__init__.pyi index 5c14902..b108c0d 100644 --- a/django-stubs/db/models/fields/__init__.pyi +++ b/django-stubs-generated/db/models/fields/__init__.pyi @@ -3,7 +3,6 @@ from decimal import Context, Decimal from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from uuid import UUID -from django.core.exceptions import FieldDoesNotExist as FieldDoesNotExist from django.core.validators import DecimalValidator from django.db.backends.sqlite3.base import DatabaseWrapper from django.db.models.base import Model @@ -15,9 +14,7 @@ from django.db.models.query import QuerySet from django.db.models.query_utils import RegisterLookupMixin from django.db.models.sql.compiler import SQLCompiler, SQLInsertCompiler from django.forms.fields import (BooleanField, DurationField, EmailField, - Field, FloatField, GenericIPAddressField, - IntegerField, SlugField, - TypedMultipleChoiceField, URLField, UUIDField) + Field, FloatField, TypedMultipleChoiceField) from django.utils.datastructures import DictWrapper @@ -208,6 +205,7 @@ class AutoField(Field): self, cls: Type[Model], name: str, **kwargs: Any ) -> None: ... def formfield(self, **kwargs: Any) -> None: ... + def __get__(self, instance, owner) -> int: ... class BigAutoField(AutoField): description: Any = ... @@ -238,6 +236,7 @@ class CharField(Field): self, value: Optional[Union[Model, str]] ) -> Optional[str]: ... def formfield(self, **kwargs: Any) -> Field: ... + def __get__(self, instance, owner) -> str: ... class CommaSeparatedIntegerField(CharField): default_validators: Any = ... @@ -373,7 +372,6 @@ class FilePathField(Field): def check(self, **kwargs: Any): ... def deconstruct(self): ... def get_prep_value(self, value: Optional[str]) -> Optional[str]: ... - def formfield(self, **kwargs: Any): ... def get_internal_type(self): ... class FloatField(Field): @@ -396,14 +394,12 @@ class IntegerField(Field): ) -> Optional[int]: ... def get_internal_type(self) -> str: ... def to_python(self, value: Union[int, str]) -> int: ... - def formfield(self, **kwargs: Any) -> Field: ... class BigIntegerField(IntegerField): empty_strings_allowed: bool = ... description: Any = ... MAX_BIGINT: int = ... def get_internal_type(self) -> str: ... - def formfield(self, **kwargs: Any): ... class IPAddressField(Field): empty_strings_allowed: bool = ... @@ -440,7 +436,6 @@ class GenericIPAddressField(Field): prepared: bool = ..., ) -> Optional[str]: ... def get_prep_value(self, value: Optional[str]) -> Optional[str]: ... - def formfield(self, **kwargs: Any) -> GenericIPAddressField: ... class NullBooleanField(BooleanField): default_error_messages: Any = ... @@ -455,12 +450,10 @@ class PositiveIntegerRelDbTypeMixin: class PositiveIntegerField(PositiveIntegerRelDbTypeMixin, IntegerField): description: Any = ... def get_internal_type(self) -> str: ... - def formfield(self, **kwargs: Any) -> IntegerField: ... class PositiveSmallIntegerField(PositiveIntegerRelDbTypeMixin, IntegerField): description: Any = ... def get_internal_type(self) -> str: ... - def formfield(self, **kwargs: Any): ... class SlugField(CharField): default_validators: Any = ... @@ -478,7 +471,6 @@ class SlugField(CharField): self ) -> Tuple[Optional[str], str, List[Any], Dict[str, int]]: ... def get_internal_type(self) -> str: ... - def formfield(self, **kwargs: Any) -> SlugField: ... class SmallIntegerField(IntegerField): description: Any = ... @@ -493,7 +485,6 @@ class TextField(Field): def get_prep_value( self, value: Optional[Union[Dict[Any, Any], int, str]] ) -> Optional[str]: ... - def formfield(self, **kwargs: Any) -> Field: ... class TimeField(DateTimeCheckMixin, Field): empty_strings_allowed: bool = ... @@ -525,7 +516,6 @@ class TimeField(DateTimeCheckMixin, Field): prepared: bool = ..., ) -> Optional[str]: ... def value_to_string(self, obj: Any): ... - def formfield(self, **kwargs: Any): ... class URLField(CharField): default_validators: Any = ... @@ -536,7 +526,6 @@ class URLField(CharField): def deconstruct( self ) -> Tuple[Optional[str], str, List[Any], Dict[str, int]]: ... - def formfield(self, **kwargs: Any) -> URLField: ... class BinaryField(Field): description: Any = ... @@ -582,4 +571,3 @@ class UUIDField(Field): def to_python( self, value: Optional[Union[Dict[Any, Any], List[Any], UUID]] ) -> Optional[UUID]: ... - def formfield(self, **kwargs: Any) -> UUIDField: ... diff --git a/django-stubs/db/models/fields/files.pyi b/django-stubs-generated/db/models/fields/files.pyi similarity index 100% rename from django-stubs/db/models/fields/files.pyi rename to django-stubs-generated/db/models/fields/files.pyi diff --git a/django-stubs/db/models/fields/mixins.pyi b/django-stubs-generated/db/models/fields/mixins.pyi similarity index 100% rename from django-stubs/db/models/fields/mixins.pyi rename to django-stubs-generated/db/models/fields/mixins.pyi diff --git a/django-stubs/db/models/fields/proxy.pyi b/django-stubs-generated/db/models/fields/proxy.pyi similarity index 100% rename from django-stubs/db/models/fields/proxy.pyi rename to django-stubs-generated/db/models/fields/proxy.pyi diff --git a/django-stubs/db/models/fields/related.pyi b/django-stubs-generated/db/models/fields/related.pyi similarity index 100% rename from django-stubs/db/models/fields/related.pyi rename to django-stubs-generated/db/models/fields/related.pyi diff --git a/django-stubs/db/models/fields/related_descriptors.pyi b/django-stubs-generated/db/models/fields/related_descriptors.pyi similarity index 100% rename from django-stubs/db/models/fields/related_descriptors.pyi rename to django-stubs-generated/db/models/fields/related_descriptors.pyi diff --git a/django-stubs/db/models/fields/related_lookups.pyi b/django-stubs-generated/db/models/fields/related_lookups.pyi similarity index 100% rename from django-stubs/db/models/fields/related_lookups.pyi rename to django-stubs-generated/db/models/fields/related_lookups.pyi diff --git a/django-stubs/db/models/fields/reverse_related.pyi b/django-stubs-generated/db/models/fields/reverse_related.pyi similarity index 100% rename from django-stubs/db/models/fields/reverse_related.pyi rename to django-stubs-generated/db/models/fields/reverse_related.pyi diff --git a/django-stubs/db/models/functions/__init__.pyi b/django-stubs-generated/db/models/functions/__init__.pyi similarity index 100% rename from django-stubs/db/models/functions/__init__.pyi rename to django-stubs-generated/db/models/functions/__init__.pyi diff --git a/django-stubs/db/models/functions/comparison.pyi b/django-stubs-generated/db/models/functions/comparison.pyi similarity index 100% rename from django-stubs/db/models/functions/comparison.pyi rename to django-stubs-generated/db/models/functions/comparison.pyi diff --git a/django-stubs/db/models/functions/datetime.pyi b/django-stubs-generated/db/models/functions/datetime.pyi similarity index 100% rename from django-stubs/db/models/functions/datetime.pyi rename to django-stubs-generated/db/models/functions/datetime.pyi diff --git a/django-stubs/db/models/functions/text.pyi b/django-stubs-generated/db/models/functions/text.pyi similarity index 100% rename from django-stubs/db/models/functions/text.pyi rename to django-stubs-generated/db/models/functions/text.pyi diff --git a/django-stubs/db/models/functions/window.pyi b/django-stubs-generated/db/models/functions/window.pyi similarity index 100% rename from django-stubs/db/models/functions/window.pyi rename to django-stubs-generated/db/models/functions/window.pyi diff --git a/django-stubs/db/models/indexes.pyi b/django-stubs-generated/db/models/indexes.pyi similarity index 100% rename from django-stubs/db/models/indexes.pyi rename to django-stubs-generated/db/models/indexes.pyi diff --git a/django-stubs/db/models/lookups.pyi b/django-stubs-generated/db/models/lookups.pyi similarity index 100% rename from django-stubs/db/models/lookups.pyi rename to django-stubs-generated/db/models/lookups.pyi diff --git a/django-stubs/db/models/manager.pyi b/django-stubs-generated/db/models/manager.pyi similarity index 100% rename from django-stubs/db/models/manager.pyi rename to django-stubs-generated/db/models/manager.pyi diff --git a/django-stubs/db/models/options.pyi b/django-stubs-generated/db/models/options.pyi similarity index 100% rename from django-stubs/db/models/options.pyi rename to django-stubs-generated/db/models/options.pyi diff --git a/django-stubs/db/models/query.pyi b/django-stubs-generated/db/models/query.pyi similarity index 100% rename from django-stubs/db/models/query.pyi rename to django-stubs-generated/db/models/query.pyi diff --git a/django-stubs/db/models/query_utils.pyi b/django-stubs-generated/db/models/query_utils.pyi similarity index 100% rename from django-stubs/db/models/query_utils.pyi rename to django-stubs-generated/db/models/query_utils.pyi diff --git a/django-stubs/db/models/signals.pyi b/django-stubs-generated/db/models/signals.pyi similarity index 100% rename from django-stubs/db/models/signals.pyi rename to django-stubs-generated/db/models/signals.pyi diff --git a/django-stubs/db/models/sql/__init__.pyi b/django-stubs-generated/db/models/sql/__init__.pyi similarity index 100% rename from django-stubs/db/models/sql/__init__.pyi rename to django-stubs-generated/db/models/sql/__init__.pyi diff --git a/django-stubs/db/models/sql/compiler.pyi b/django-stubs-generated/db/models/sql/compiler.pyi similarity index 100% rename from django-stubs/db/models/sql/compiler.pyi rename to django-stubs-generated/db/models/sql/compiler.pyi diff --git a/django-stubs/db/models/sql/datastructures.pyi b/django-stubs-generated/db/models/sql/datastructures.pyi similarity index 100% rename from django-stubs/db/models/sql/datastructures.pyi rename to django-stubs-generated/db/models/sql/datastructures.pyi diff --git a/django-stubs/db/models/sql/query.pyi b/django-stubs-generated/db/models/sql/query.pyi similarity index 100% rename from django-stubs/db/models/sql/query.pyi rename to django-stubs-generated/db/models/sql/query.pyi diff --git a/django-stubs/db/models/sql/subqueries.pyi b/django-stubs-generated/db/models/sql/subqueries.pyi similarity index 100% rename from django-stubs/db/models/sql/subqueries.pyi rename to django-stubs-generated/db/models/sql/subqueries.pyi diff --git a/django-stubs/db/models/sql/where.pyi b/django-stubs-generated/db/models/sql/where.pyi similarity index 100% rename from django-stubs/db/models/sql/where.pyi rename to django-stubs-generated/db/models/sql/where.pyi diff --git a/django-stubs/db/models/utils.pyi b/django-stubs-generated/db/models/utils.pyi similarity index 100% rename from django-stubs/db/models/utils.pyi rename to django-stubs-generated/db/models/utils.pyi diff --git a/django-stubs/db/transaction.pyi b/django-stubs-generated/db/transaction.pyi similarity index 100% rename from django-stubs/db/transaction.pyi rename to django-stubs-generated/db/transaction.pyi diff --git a/django-stubs/db/utils.pyi b/django-stubs-generated/db/utils.pyi similarity index 100% rename from django-stubs/db/utils.pyi rename to django-stubs-generated/db/utils.pyi diff --git a/django-stubs/dispatch/__init__.pyi b/django-stubs-generated/dispatch/__init__.pyi similarity index 100% rename from django-stubs/dispatch/__init__.pyi rename to django-stubs-generated/dispatch/__init__.pyi diff --git a/django-stubs/dispatch/dispatcher.pyi b/django-stubs-generated/dispatch/dispatcher.pyi similarity index 100% rename from django-stubs/dispatch/dispatcher.pyi rename to django-stubs-generated/dispatch/dispatcher.pyi diff --git a/django-stubs/forms/__init__.pyi b/django-stubs-generated/forms/__init__.pyi similarity index 100% rename from django-stubs/forms/__init__.pyi rename to django-stubs-generated/forms/__init__.pyi diff --git a/django-stubs/forms/boundfield.pyi b/django-stubs-generated/forms/boundfield.pyi similarity index 100% rename from django-stubs/forms/boundfield.pyi rename to django-stubs-generated/forms/boundfield.pyi diff --git a/django-stubs/forms/fields.pyi b/django-stubs-generated/forms/fields.pyi similarity index 100% rename from django-stubs/forms/fields.pyi rename to django-stubs-generated/forms/fields.pyi diff --git a/django-stubs/forms/forms.pyi b/django-stubs-generated/forms/forms.pyi similarity index 100% rename from django-stubs/forms/forms.pyi rename to django-stubs-generated/forms/forms.pyi diff --git a/django-stubs/forms/formsets.pyi b/django-stubs-generated/forms/formsets.pyi similarity index 89% rename from django-stubs/forms/formsets.pyi rename to django-stubs-generated/forms/formsets.pyi index 277c45d..2687752 100644 --- a/django-stubs/forms/formsets.pyi +++ b/django-stubs-generated/forms/formsets.pyi @@ -1,23 +1,24 @@ -from typing import Any, List, Optional +import collections +from typing import Any, List, Optional, Union, Dict, Type from django.forms import Form +from django.forms.renderers import BaseRenderer +from django.forms.utils import ErrorList class ManagementForm(Form): auto_id: Union[bool, str] cleaned_data: Dict[str, Optional[int]] - data: Union[ - Dict[str, Union[List[int], int, str]], django.http.request.QueryDict - ] + data: Dict[str, Union[List[int], int, str]] empty_permitted: bool - error_class: Type[django.forms.utils.ErrorList] + error_class: Type[ErrorList] fields: collections.OrderedDict files: Dict[Any, Any] initial: Dict[str, int] is_bound: bool label_suffix: str prefix: str - renderer: django.forms.renderers.DjangoTemplates + renderer: BaseRenderer def __init__(self, *args: Any, **kwargs: Any) -> None: ... class BaseFormSet: diff --git a/django-stubs/forms/models.pyi b/django-stubs-generated/forms/models.pyi similarity index 100% rename from django-stubs/forms/models.pyi rename to django-stubs-generated/forms/models.pyi diff --git a/django-stubs/forms/renderers.pyi b/django-stubs-generated/forms/renderers.pyi similarity index 100% rename from django-stubs/forms/renderers.pyi rename to django-stubs-generated/forms/renderers.pyi diff --git a/django-stubs/forms/utils.pyi b/django-stubs-generated/forms/utils.pyi similarity index 100% rename from django-stubs/forms/utils.pyi rename to django-stubs-generated/forms/utils.pyi diff --git a/django-stubs/forms/widgets.pyi b/django-stubs-generated/forms/widgets.pyi similarity index 100% rename from django-stubs/forms/widgets.pyi rename to django-stubs-generated/forms/widgets.pyi diff --git a/django-stubs/http/__init__.pyi b/django-stubs-generated/http/__init__.pyi similarity index 100% rename from django-stubs/http/__init__.pyi rename to django-stubs-generated/http/__init__.pyi diff --git a/django-stubs/http/cookie.pyi b/django-stubs-generated/http/cookie.pyi similarity index 100% rename from django-stubs/http/cookie.pyi rename to django-stubs-generated/http/cookie.pyi diff --git a/django-stubs/http/multipartparser.pyi b/django-stubs-generated/http/multipartparser.pyi similarity index 100% rename from django-stubs/http/multipartparser.pyi rename to django-stubs-generated/http/multipartparser.pyi diff --git a/django-stubs/http/request.pyi b/django-stubs-generated/http/request.pyi similarity index 100% rename from django-stubs/http/request.pyi rename to django-stubs-generated/http/request.pyi diff --git a/django-stubs/http/response.pyi b/django-stubs-generated/http/response.pyi similarity index 100% rename from django-stubs/http/response.pyi rename to django-stubs-generated/http/response.pyi diff --git a/django-stubs/middleware/__init__.pyi b/django-stubs-generated/middleware/__init__.pyi similarity index 100% rename from django-stubs/middleware/__init__.pyi rename to django-stubs-generated/middleware/__init__.pyi diff --git a/django-stubs/middleware/cache.pyi b/django-stubs-generated/middleware/cache.pyi similarity index 100% rename from django-stubs/middleware/cache.pyi rename to django-stubs-generated/middleware/cache.pyi diff --git a/django-stubs/middleware/clickjacking.pyi b/django-stubs-generated/middleware/clickjacking.pyi similarity index 100% rename from django-stubs/middleware/clickjacking.pyi rename to django-stubs-generated/middleware/clickjacking.pyi diff --git a/django-stubs/middleware/common.pyi b/django-stubs-generated/middleware/common.pyi similarity index 100% rename from django-stubs/middleware/common.pyi rename to django-stubs-generated/middleware/common.pyi diff --git a/django-stubs/middleware/csrf.pyi b/django-stubs-generated/middleware/csrf.pyi similarity index 100% rename from django-stubs/middleware/csrf.pyi rename to django-stubs-generated/middleware/csrf.pyi diff --git a/django-stubs/middleware/gzip.pyi b/django-stubs-generated/middleware/gzip.pyi similarity index 100% rename from django-stubs/middleware/gzip.pyi rename to django-stubs-generated/middleware/gzip.pyi diff --git a/django-stubs/middleware/http.pyi b/django-stubs-generated/middleware/http.pyi similarity index 100% rename from django-stubs/middleware/http.pyi rename to django-stubs-generated/middleware/http.pyi diff --git a/django-stubs/middleware/locale.pyi b/django-stubs-generated/middleware/locale.pyi similarity index 100% rename from django-stubs/middleware/locale.pyi rename to django-stubs-generated/middleware/locale.pyi diff --git a/django-stubs/middleware/security.pyi b/django-stubs-generated/middleware/security.pyi similarity index 100% rename from django-stubs/middleware/security.pyi rename to django-stubs-generated/middleware/security.pyi diff --git a/django-stubs/shortcuts.pyi b/django-stubs-generated/shortcuts.pyi similarity index 100% rename from django-stubs/shortcuts.pyi rename to django-stubs-generated/shortcuts.pyi diff --git a/django-stubs/template/__init__.pyi b/django-stubs-generated/template/__init__.pyi similarity index 100% rename from django-stubs/template/__init__.pyi rename to django-stubs-generated/template/__init__.pyi diff --git a/django-stubs/template/backends/__init__.pyi b/django-stubs-generated/template/backends/__init__.pyi similarity index 100% rename from django-stubs/template/backends/__init__.pyi rename to django-stubs-generated/template/backends/__init__.pyi diff --git a/django-stubs/template/backends/base.pyi b/django-stubs-generated/template/backends/base.pyi similarity index 100% rename from django-stubs/template/backends/base.pyi rename to django-stubs-generated/template/backends/base.pyi diff --git a/django-stubs/template/backends/django.pyi b/django-stubs-generated/template/backends/django.pyi similarity index 100% rename from django-stubs/template/backends/django.pyi rename to django-stubs-generated/template/backends/django.pyi diff --git a/django-stubs/template/backends/dummy.pyi b/django-stubs-generated/template/backends/dummy.pyi similarity index 100% rename from django-stubs/template/backends/dummy.pyi rename to django-stubs-generated/template/backends/dummy.pyi diff --git a/django-stubs/template/backends/jinja2.pyi b/django-stubs-generated/template/backends/jinja2.pyi similarity index 100% rename from django-stubs/template/backends/jinja2.pyi rename to django-stubs-generated/template/backends/jinja2.pyi diff --git a/django-stubs/template/backends/utils.pyi b/django-stubs-generated/template/backends/utils.pyi similarity index 100% rename from django-stubs/template/backends/utils.pyi rename to django-stubs-generated/template/backends/utils.pyi diff --git a/django-stubs/template/base.pyi b/django-stubs-generated/template/base.pyi similarity index 100% rename from django-stubs/template/base.pyi rename to django-stubs-generated/template/base.pyi diff --git a/django-stubs/template/context.pyi b/django-stubs-generated/template/context.pyi similarity index 100% rename from django-stubs/template/context.pyi rename to django-stubs-generated/template/context.pyi diff --git a/django-stubs/template/context_processors.pyi b/django-stubs-generated/template/context_processors.pyi similarity index 100% rename from django-stubs/template/context_processors.pyi rename to django-stubs-generated/template/context_processors.pyi diff --git a/django-stubs/template/defaultfilters.pyi b/django-stubs-generated/template/defaultfilters.pyi similarity index 100% rename from django-stubs/template/defaultfilters.pyi rename to django-stubs-generated/template/defaultfilters.pyi diff --git a/django-stubs/template/defaulttags.pyi b/django-stubs-generated/template/defaulttags.pyi similarity index 100% rename from django-stubs/template/defaulttags.pyi rename to django-stubs-generated/template/defaulttags.pyi diff --git a/django-stubs/template/engine.pyi b/django-stubs-generated/template/engine.pyi similarity index 100% rename from django-stubs/template/engine.pyi rename to django-stubs-generated/template/engine.pyi diff --git a/django-stubs/template/exceptions.pyi b/django-stubs-generated/template/exceptions.pyi similarity index 100% rename from django-stubs/template/exceptions.pyi rename to django-stubs-generated/template/exceptions.pyi diff --git a/django-stubs/template/library.pyi b/django-stubs-generated/template/library.pyi similarity index 100% rename from django-stubs/template/library.pyi rename to django-stubs-generated/template/library.pyi diff --git a/django-stubs/template/loader.pyi b/django-stubs-generated/template/loader.pyi similarity index 100% rename from django-stubs/template/loader.pyi rename to django-stubs-generated/template/loader.pyi diff --git a/django-stubs/template/loader_tags.pyi b/django-stubs-generated/template/loader_tags.pyi similarity index 100% rename from django-stubs/template/loader_tags.pyi rename to django-stubs-generated/template/loader_tags.pyi diff --git a/django-stubs/template/loaders/__init__.pyi b/django-stubs-generated/template/loaders/__init__.pyi similarity index 100% rename from django-stubs/template/loaders/__init__.pyi rename to django-stubs-generated/template/loaders/__init__.pyi diff --git a/django-stubs/template/loaders/app_directories.pyi b/django-stubs-generated/template/loaders/app_directories.pyi similarity index 100% rename from django-stubs/template/loaders/app_directories.pyi rename to django-stubs-generated/template/loaders/app_directories.pyi diff --git a/django-stubs/template/loaders/base.pyi b/django-stubs-generated/template/loaders/base.pyi similarity index 100% rename from django-stubs/template/loaders/base.pyi rename to django-stubs-generated/template/loaders/base.pyi diff --git a/django-stubs/template/loaders/cached.pyi b/django-stubs-generated/template/loaders/cached.pyi similarity index 100% rename from django-stubs/template/loaders/cached.pyi rename to django-stubs-generated/template/loaders/cached.pyi diff --git a/django-stubs/template/loaders/filesystem.pyi b/django-stubs-generated/template/loaders/filesystem.pyi similarity index 100% rename from django-stubs/template/loaders/filesystem.pyi rename to django-stubs-generated/template/loaders/filesystem.pyi diff --git a/django-stubs/template/loaders/locmem.pyi b/django-stubs-generated/template/loaders/locmem.pyi similarity index 100% rename from django-stubs/template/loaders/locmem.pyi rename to django-stubs-generated/template/loaders/locmem.pyi diff --git a/django-stubs/template/response.pyi b/django-stubs-generated/template/response.pyi similarity index 100% rename from django-stubs/template/response.pyi rename to django-stubs-generated/template/response.pyi diff --git a/django-stubs/template/smartif.pyi b/django-stubs-generated/template/smartif.pyi similarity index 100% rename from django-stubs/template/smartif.pyi rename to django-stubs-generated/template/smartif.pyi diff --git a/django-stubs/template/utils.pyi b/django-stubs-generated/template/utils.pyi similarity index 100% rename from django-stubs/template/utils.pyi rename to django-stubs-generated/template/utils.pyi diff --git a/django-stubs/templatetags/__init__.pyi b/django-stubs-generated/templatetags/__init__.pyi similarity index 100% rename from django-stubs/templatetags/__init__.pyi rename to django-stubs-generated/templatetags/__init__.pyi diff --git a/django-stubs/templatetags/cache.pyi b/django-stubs-generated/templatetags/cache.pyi similarity index 100% rename from django-stubs/templatetags/cache.pyi rename to django-stubs-generated/templatetags/cache.pyi diff --git a/django-stubs/templatetags/i18n.pyi b/django-stubs-generated/templatetags/i18n.pyi similarity index 100% rename from django-stubs/templatetags/i18n.pyi rename to django-stubs-generated/templatetags/i18n.pyi diff --git a/django-stubs/templatetags/l10n.pyi b/django-stubs-generated/templatetags/l10n.pyi similarity index 100% rename from django-stubs/templatetags/l10n.pyi rename to django-stubs-generated/templatetags/l10n.pyi diff --git a/django-stubs/templatetags/static.pyi b/django-stubs-generated/templatetags/static.pyi similarity index 100% rename from django-stubs/templatetags/static.pyi rename to django-stubs-generated/templatetags/static.pyi diff --git a/django-stubs/templatetags/tz.pyi b/django-stubs-generated/templatetags/tz.pyi similarity index 100% rename from django-stubs/templatetags/tz.pyi rename to django-stubs-generated/templatetags/tz.pyi diff --git a/django-stubs/test/__init__.pyi b/django-stubs-generated/test/__init__.pyi similarity index 100% rename from django-stubs/test/__init__.pyi rename to django-stubs-generated/test/__init__.pyi diff --git a/django-stubs/test/client.pyi b/django-stubs-generated/test/client.pyi similarity index 100% rename from django-stubs/test/client.pyi rename to django-stubs-generated/test/client.pyi diff --git a/django-stubs/test/html.pyi b/django-stubs-generated/test/html.pyi similarity index 84% rename from django-stubs/test/html.pyi rename to django-stubs-generated/test/html.pyi index 6419c27..e4e230d 100644 --- a/django-stubs/test/html.pyi +++ b/django-stubs-generated/test/html.pyi @@ -1,14 +1,16 @@ from html.parser import HTMLParser -from typing import Any, List, Optional, Tuple, Union +from typing import Any, List, Optional, Tuple, Union, TypeVar + +_Self = TypeVar('_Self') WHITESPACE: Any def normalize_whitespace(string: str) -> str: ... class Element: - name: str = ... + name: Optional[str] = ... attributes: List[Tuple[str, Optional[str]]] = ... - children: List[Union[django.test.html.Element, str]] = ... + children: List[Union[Element, str]] = ... def __init__( self, name: Optional[str], @@ -16,16 +18,13 @@ class Element: ) -> None: ... def append(self, element: Union[Element, str]) -> None: ... def finalize(self) -> None: ... - def __eq__(self, element: Element) -> bool: ... - def __hash__(self) -> int: ... def __contains__(self, element: Union[Element, str]) -> bool: ... def count(self, element: Union[Element, str]) -> int: ... def __getitem__(self, key: int) -> Union[Element, str]: ... class RootElement(Element): attributes: List[Any] - children: List[Union[django.test.html.Element, str]] - name: None + children: List[Union[Element, str]] def __init__(self) -> None: ... class HTMLParseError(Exception): ... diff --git a/django-stubs/test/runner.pyi b/django-stubs-generated/test/runner.pyi similarity index 100% rename from django-stubs/test/runner.pyi rename to django-stubs-generated/test/runner.pyi diff --git a/django-stubs/test/selenium.pyi b/django-stubs-generated/test/selenium.pyi similarity index 100% rename from django-stubs/test/selenium.pyi rename to django-stubs-generated/test/selenium.pyi diff --git a/django-stubs/test/signals.pyi b/django-stubs-generated/test/signals.pyi similarity index 100% rename from django-stubs/test/signals.pyi rename to django-stubs-generated/test/signals.pyi diff --git a/django-stubs/test/testcases.pyi b/django-stubs-generated/test/testcases.pyi similarity index 100% rename from django-stubs/test/testcases.pyi rename to django-stubs-generated/test/testcases.pyi diff --git a/django-stubs/test/utils.pyi b/django-stubs-generated/test/utils.pyi similarity index 100% rename from django-stubs/test/utils.pyi rename to django-stubs-generated/test/utils.pyi diff --git a/django-stubs/urls/__init__.pyi b/django-stubs-generated/urls/__init__.pyi similarity index 100% rename from django-stubs/urls/__init__.pyi rename to django-stubs-generated/urls/__init__.pyi diff --git a/django-stubs/urls/base.pyi b/django-stubs-generated/urls/base.pyi similarity index 100% rename from django-stubs/urls/base.pyi rename to django-stubs-generated/urls/base.pyi diff --git a/django-stubs/urls/conf.pyi b/django-stubs-generated/urls/conf.pyi similarity index 100% rename from django-stubs/urls/conf.pyi rename to django-stubs-generated/urls/conf.pyi diff --git a/django-stubs/urls/converters.pyi b/django-stubs-generated/urls/converters.pyi similarity index 100% rename from django-stubs/urls/converters.pyi rename to django-stubs-generated/urls/converters.pyi diff --git a/django-stubs/urls/exceptions.pyi b/django-stubs-generated/urls/exceptions.pyi similarity index 100% rename from django-stubs/urls/exceptions.pyi rename to django-stubs-generated/urls/exceptions.pyi diff --git a/django-stubs/urls/resolvers.pyi b/django-stubs-generated/urls/resolvers.pyi similarity index 100% rename from django-stubs/urls/resolvers.pyi rename to django-stubs-generated/urls/resolvers.pyi diff --git a/django-stubs/urls/utils.pyi b/django-stubs-generated/urls/utils.pyi similarity index 100% rename from django-stubs/urls/utils.pyi rename to django-stubs-generated/urls/utils.pyi diff --git a/django-stubs/utils/__init__.pyi b/django-stubs-generated/utils/__init__.pyi similarity index 100% rename from django-stubs/utils/__init__.pyi rename to django-stubs-generated/utils/__init__.pyi diff --git a/django-stubs/utils/_os.pyi b/django-stubs-generated/utils/_os.pyi similarity index 100% rename from django-stubs/utils/_os.pyi rename to django-stubs-generated/utils/_os.pyi diff --git a/django-stubs/utils/archive.pyi b/django-stubs-generated/utils/archive.pyi similarity index 100% rename from django-stubs/utils/archive.pyi rename to django-stubs-generated/utils/archive.pyi diff --git a/django-stubs/utils/autoreload.pyi b/django-stubs-generated/utils/autoreload.pyi similarity index 100% rename from django-stubs/utils/autoreload.pyi rename to django-stubs-generated/utils/autoreload.pyi diff --git a/django-stubs/utils/baseconv.pyi b/django-stubs-generated/utils/baseconv.pyi similarity index 100% rename from django-stubs/utils/baseconv.pyi rename to django-stubs-generated/utils/baseconv.pyi diff --git a/django-stubs/utils/cache.pyi b/django-stubs-generated/utils/cache.pyi similarity index 100% rename from django-stubs/utils/cache.pyi rename to django-stubs-generated/utils/cache.pyi diff --git a/django-stubs/utils/crypto.pyi b/django-stubs-generated/utils/crypto.pyi similarity index 100% rename from django-stubs/utils/crypto.pyi rename to django-stubs-generated/utils/crypto.pyi diff --git a/django-stubs/utils/datastructures.pyi b/django-stubs-generated/utils/datastructures.pyi similarity index 100% rename from django-stubs/utils/datastructures.pyi rename to django-stubs-generated/utils/datastructures.pyi diff --git a/django-stubs/utils/dateformat.pyi b/django-stubs-generated/utils/dateformat.pyi similarity index 100% rename from django-stubs/utils/dateformat.pyi rename to django-stubs-generated/utils/dateformat.pyi diff --git a/django-stubs/utils/dateparse.pyi b/django-stubs-generated/utils/dateparse.pyi similarity index 100% rename from django-stubs/utils/dateparse.pyi rename to django-stubs-generated/utils/dateparse.pyi diff --git a/django-stubs/utils/datetime_safe.pyi b/django-stubs-generated/utils/datetime_safe.pyi similarity index 100% rename from django-stubs/utils/datetime_safe.pyi rename to django-stubs-generated/utils/datetime_safe.pyi diff --git a/django-stubs/utils/deconstruct.pyi b/django-stubs-generated/utils/deconstruct.pyi similarity index 100% rename from django-stubs/utils/deconstruct.pyi rename to django-stubs-generated/utils/deconstruct.pyi diff --git a/django-stubs/utils/decorators.pyi b/django-stubs-generated/utils/decorators.pyi similarity index 100% rename from django-stubs/utils/decorators.pyi rename to django-stubs-generated/utils/decorators.pyi diff --git a/django-stubs/utils/deprecation.pyi b/django-stubs-generated/utils/deprecation.pyi similarity index 100% rename from django-stubs/utils/deprecation.pyi rename to django-stubs-generated/utils/deprecation.pyi diff --git a/django-stubs/utils/duration.pyi b/django-stubs-generated/utils/duration.pyi similarity index 100% rename from django-stubs/utils/duration.pyi rename to django-stubs-generated/utils/duration.pyi diff --git a/django-stubs/utils/encoding.pyi b/django-stubs-generated/utils/encoding.pyi similarity index 100% rename from django-stubs/utils/encoding.pyi rename to django-stubs-generated/utils/encoding.pyi diff --git a/django-stubs/utils/feedgenerator.pyi b/django-stubs-generated/utils/feedgenerator.pyi similarity index 100% rename from django-stubs/utils/feedgenerator.pyi rename to django-stubs-generated/utils/feedgenerator.pyi diff --git a/django-stubs/utils/formats.pyi b/django-stubs-generated/utils/formats.pyi similarity index 100% rename from django-stubs/utils/formats.pyi rename to django-stubs-generated/utils/formats.pyi diff --git a/django-stubs/utils/functional.pyi b/django-stubs-generated/utils/functional.pyi similarity index 100% rename from django-stubs/utils/functional.pyi rename to django-stubs-generated/utils/functional.pyi diff --git a/django-stubs/utils/html.pyi b/django-stubs-generated/utils/html.pyi similarity index 100% rename from django-stubs/utils/html.pyi rename to django-stubs-generated/utils/html.pyi diff --git a/django-stubs/utils/http.pyi b/django-stubs-generated/utils/http.pyi similarity index 100% rename from django-stubs/utils/http.pyi rename to django-stubs-generated/utils/http.pyi diff --git a/django-stubs/utils/inspect.pyi b/django-stubs-generated/utils/inspect.pyi similarity index 100% rename from django-stubs/utils/inspect.pyi rename to django-stubs-generated/utils/inspect.pyi diff --git a/django-stubs/utils/ipv6.pyi b/django-stubs-generated/utils/ipv6.pyi similarity index 100% rename from django-stubs/utils/ipv6.pyi rename to django-stubs-generated/utils/ipv6.pyi diff --git a/django-stubs/utils/itercompat.pyi b/django-stubs-generated/utils/itercompat.pyi similarity index 100% rename from django-stubs/utils/itercompat.pyi rename to django-stubs-generated/utils/itercompat.pyi diff --git a/django-stubs/utils/jslex.pyi b/django-stubs-generated/utils/jslex.pyi similarity index 100% rename from django-stubs/utils/jslex.pyi rename to django-stubs-generated/utils/jslex.pyi diff --git a/django-stubs/utils/log.pyi b/django-stubs-generated/utils/log.pyi similarity index 100% rename from django-stubs/utils/log.pyi rename to django-stubs-generated/utils/log.pyi diff --git a/django-stubs/utils/lorem_ipsum.pyi b/django-stubs-generated/utils/lorem_ipsum.pyi similarity index 100% rename from django-stubs/utils/lorem_ipsum.pyi rename to django-stubs-generated/utils/lorem_ipsum.pyi diff --git a/django-stubs/utils/module_loading.pyi b/django-stubs-generated/utils/module_loading.pyi similarity index 100% rename from django-stubs/utils/module_loading.pyi rename to django-stubs-generated/utils/module_loading.pyi diff --git a/django-stubs/utils/numberformat.pyi b/django-stubs-generated/utils/numberformat.pyi similarity index 100% rename from django-stubs/utils/numberformat.pyi rename to django-stubs-generated/utils/numberformat.pyi diff --git a/django-stubs/utils/regex_helper.pyi b/django-stubs-generated/utils/regex_helper.pyi similarity index 100% rename from django-stubs/utils/regex_helper.pyi rename to django-stubs-generated/utils/regex_helper.pyi diff --git a/django-stubs/utils/safestring.pyi b/django-stubs-generated/utils/safestring.pyi similarity index 100% rename from django-stubs/utils/safestring.pyi rename to django-stubs-generated/utils/safestring.pyi diff --git a/django-stubs/utils/six.pyi b/django-stubs-generated/utils/six.pyi similarity index 100% rename from django-stubs/utils/six.pyi rename to django-stubs-generated/utils/six.pyi diff --git a/django-stubs/utils/termcolors.pyi b/django-stubs-generated/utils/termcolors.pyi similarity index 100% rename from django-stubs/utils/termcolors.pyi rename to django-stubs-generated/utils/termcolors.pyi diff --git a/django-stubs/utils/text.pyi b/django-stubs-generated/utils/text.pyi similarity index 100% rename from django-stubs/utils/text.pyi rename to django-stubs-generated/utils/text.pyi diff --git a/django-stubs/utils/timesince.pyi b/django-stubs-generated/utils/timesince.pyi similarity index 100% rename from django-stubs/utils/timesince.pyi rename to django-stubs-generated/utils/timesince.pyi diff --git a/django-stubs/utils/timezone.pyi b/django-stubs-generated/utils/timezone.pyi similarity index 100% rename from django-stubs/utils/timezone.pyi rename to django-stubs-generated/utils/timezone.pyi diff --git a/django-stubs/utils/translation/__init__.pyi b/django-stubs-generated/utils/translation/__init__.pyi similarity index 100% rename from django-stubs/utils/translation/__init__.pyi rename to django-stubs-generated/utils/translation/__init__.pyi diff --git a/django-stubs/utils/translation/template.pyi b/django-stubs-generated/utils/translation/template.pyi similarity index 100% rename from django-stubs/utils/translation/template.pyi rename to django-stubs-generated/utils/translation/template.pyi diff --git a/django-stubs/utils/translation/trans_null.pyi b/django-stubs-generated/utils/translation/trans_null.pyi similarity index 100% rename from django-stubs/utils/translation/trans_null.pyi rename to django-stubs-generated/utils/translation/trans_null.pyi diff --git a/django-stubs/utils/translation/trans_real.pyi b/django-stubs-generated/utils/translation/trans_real.pyi similarity index 100% rename from django-stubs/utils/translation/trans_real.pyi rename to django-stubs-generated/utils/translation/trans_real.pyi diff --git a/django-stubs/utils/tree.pyi b/django-stubs-generated/utils/tree.pyi similarity index 100% rename from django-stubs/utils/tree.pyi rename to django-stubs-generated/utils/tree.pyi diff --git a/django-stubs/utils/version.pyi b/django-stubs-generated/utils/version.pyi similarity index 100% rename from django-stubs/utils/version.pyi rename to django-stubs-generated/utils/version.pyi diff --git a/django-stubs/utils/xmlutils.pyi b/django-stubs-generated/utils/xmlutils.pyi similarity index 100% rename from django-stubs/utils/xmlutils.pyi rename to django-stubs-generated/utils/xmlutils.pyi diff --git a/django-stubs/views/__init__.pyi b/django-stubs-generated/views/__init__.pyi similarity index 100% rename from django-stubs/views/__init__.pyi rename to django-stubs-generated/views/__init__.pyi diff --git a/django-stubs/views/csrf.pyi b/django-stubs-generated/views/csrf.pyi similarity index 100% rename from django-stubs/views/csrf.pyi rename to django-stubs-generated/views/csrf.pyi diff --git a/django-stubs/views/debug.pyi b/django-stubs-generated/views/debug.pyi similarity index 100% rename from django-stubs/views/debug.pyi rename to django-stubs-generated/views/debug.pyi diff --git a/django-stubs/views/decorators/__init__.pyi b/django-stubs-generated/views/decorators/__init__.pyi similarity index 100% rename from django-stubs/views/decorators/__init__.pyi rename to django-stubs-generated/views/decorators/__init__.pyi diff --git a/django-stubs/views/decorators/cache.pyi b/django-stubs-generated/views/decorators/cache.pyi similarity index 100% rename from django-stubs/views/decorators/cache.pyi rename to django-stubs-generated/views/decorators/cache.pyi diff --git a/django-stubs/views/decorators/clickjacking.pyi b/django-stubs-generated/views/decorators/clickjacking.pyi similarity index 100% rename from django-stubs/views/decorators/clickjacking.pyi rename to django-stubs-generated/views/decorators/clickjacking.pyi diff --git a/django-stubs/views/decorators/csrf.pyi b/django-stubs-generated/views/decorators/csrf.pyi similarity index 100% rename from django-stubs/views/decorators/csrf.pyi rename to django-stubs-generated/views/decorators/csrf.pyi diff --git a/django-stubs/views/decorators/debug.pyi b/django-stubs-generated/views/decorators/debug.pyi similarity index 100% rename from django-stubs/views/decorators/debug.pyi rename to django-stubs-generated/views/decorators/debug.pyi diff --git a/django-stubs/views/decorators/http.pyi b/django-stubs-generated/views/decorators/http.pyi similarity index 100% rename from django-stubs/views/decorators/http.pyi rename to django-stubs-generated/views/decorators/http.pyi diff --git a/django-stubs/views/decorators/vary.pyi b/django-stubs-generated/views/decorators/vary.pyi similarity index 100% rename from django-stubs/views/decorators/vary.pyi rename to django-stubs-generated/views/decorators/vary.pyi diff --git a/django-stubs/views/defaults.pyi b/django-stubs-generated/views/defaults.pyi similarity index 100% rename from django-stubs/views/defaults.pyi rename to django-stubs-generated/views/defaults.pyi diff --git a/django-stubs/views/generic/__init__.pyi b/django-stubs-generated/views/generic/__init__.pyi similarity index 100% rename from django-stubs/views/generic/__init__.pyi rename to django-stubs-generated/views/generic/__init__.pyi diff --git a/django-stubs/views/generic/base.pyi b/django-stubs-generated/views/generic/base.pyi similarity index 100% rename from django-stubs/views/generic/base.pyi rename to django-stubs-generated/views/generic/base.pyi diff --git a/django-stubs/views/generic/dates.pyi b/django-stubs-generated/views/generic/dates.pyi similarity index 100% rename from django-stubs/views/generic/dates.pyi rename to django-stubs-generated/views/generic/dates.pyi diff --git a/django-stubs/views/generic/detail.pyi b/django-stubs-generated/views/generic/detail.pyi similarity index 100% rename from django-stubs/views/generic/detail.pyi rename to django-stubs-generated/views/generic/detail.pyi diff --git a/django-stubs/views/generic/edit.pyi b/django-stubs-generated/views/generic/edit.pyi similarity index 100% rename from django-stubs/views/generic/edit.pyi rename to django-stubs-generated/views/generic/edit.pyi diff --git a/django-stubs/views/generic/list.pyi b/django-stubs-generated/views/generic/list.pyi similarity index 100% rename from django-stubs/views/generic/list.pyi rename to django-stubs-generated/views/generic/list.pyi diff --git a/django-stubs/views/i18n.pyi b/django-stubs-generated/views/i18n.pyi similarity index 100% rename from django-stubs/views/i18n.pyi rename to django-stubs-generated/views/i18n.pyi diff --git a/django-stubs/views/static.pyi b/django-stubs-generated/views/static.pyi similarity index 100% rename from django-stubs/views/static.pyi rename to django-stubs-generated/views/static.pyi