Files
django-stubs/tests/typecheck
Marti Raudsepp 1a36c6c379 Improve type hints of URL conf & include() (#949)
* Improve type hints of URL conf & include()

The type of `urlpatterns` list is `List[Union[URLPattern, URLResolver]]`.

* https://docs.djangoproject.com/en/dev/ref/urls/#django.urls.include
* https://docs.djangoproject.com/en/4.0/ref/urls/

* Alias _AnyURL = Union[URLPattern, URLResolver]

* Fix extract_views_from_urlpatterns
2022-05-06 09:00:21 +03:00
..
2022-04-04 00:41:41 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00
2021-06-12 01:05:46 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00
2022-04-28 13:01:37 +03:00
2022-04-29 14:44:33 +03:00
2021-06-12 01:05:46 +03:00
2022-04-29 14:44:33 +03:00
2022-04-04 00:41:41 +03:00
2022-04-04 00:41:41 +03:00
2021-06-12 01:05:46 +03:00
2022-04-28 13:01:37 +03:00
2022-04-29 14:44:33 +03:00
2022-04-29 14:44:33 +03:00