Files
django-stubs/tests/typecheck
LanDinh ceb08f1804 Add URLPattern options to django.url.conf since they were missing. (#583)
* Add URLPattern options to django.url.conf since they were missing.

* Fix some wording in the contribution guide & fix a reference to Django version 3.0, which has since been replaced by 3.1 as new stable version.

* My bad - I was misreading the type hints a bit here. Fix tests.

* We need to specify the List[Union[URLResolver, URLPattern]] upfront, since those don't accept List[URLResolver] as argument.

* Add test to ensure that path() accepts a mix of URLPatterns & URLResolvers.

Co-authored-by: LanDinh <coding+sourcetree@khaleesi.ninja>
2021-04-10 18:01:40 +03:00
..
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00
2020-10-29 11:59:48 +03:00