1
0
forked from VimPlug/jedi
Commit Graph

36 Commits

Author SHA1 Message Date
Dave Halter 24a1bbb3ca Even more super deletions 2020-07-02 12:29:10 +02:00
Dave Halter 395f7fc59e Remove inspect.Parameter compatibility 2020-07-02 00:44:25 +02:00
Dave Halter 1702a6340e Document a special case in Django a bit better 2020-06-14 22:23:08 +02:00
Dave Halter 9de5ab2037 Make it possible to complete on QuerySet methods, fixes #1587 2020-06-13 20:55:37 +02:00
Dave Halter 3415ccbb73 Add support for Django signatures, fixes parts of #1587 2020-06-13 16:18:47 +02:00
Dave Halter b165596a6e Avoid doing a call twice for now reason 2020-06-13 14:25:52 +02:00
Dave Halter a2108de2c0 Use py__get__ for Django Model.objects
This includes the fix in https://github.com/typeddjango/django-stubs/pull/394
2020-06-09 23:26:43 +02:00
Dave Halter c9a21adc5f Make sure py__get__ is applied properly for Django metaclasses 2020-06-07 15:01:12 +02:00
Dave Halter 9adcf3d233 Make sure meta class filters can distinguish between classes and instances 2020-06-07 14:54:26 +02:00
Dave Halter 105c097fea Merge branch 'django-custom-object-manager' of https://github.com/PeterJCLaw/jedi into django 2020-06-06 01:24:24 +02:00
Dave Halter 574b790296 Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593 2020-06-06 01:23:14 +02:00
Peter Law c36904d983 Support custom managers in Django models
For the moment this support is limited to just Model.objects
replacements and does not use the custom manager for ForeignKey
related managers.
2020-05-22 12:33:03 +01:00
Peter Law b7cdec427e Support OneToOneFields 2020-05-18 22:19:20 +01:00
Peter Law df66b35444 Support UUIDFields 2020-05-18 22:11:31 +01:00
Peter Law cd9f2f31ea Support URLFields 2020-05-18 22:10:48 +01:00
Peter Law b54d7433c7 Support GenericIPAddressFields 2020-05-18 22:10:09 +01:00
Dave Halter c761dded35 Properly implement inheritance for Django models 2020-04-25 22:55:29 +02:00
Dave Halter 92623232c3 Make sure Django User inference works 2020-04-25 22:55:29 +02:00
Dave Halter f6803bce2c Infer many to many fields 2020-04-25 22:55:29 +02:00
Dave Halter 6bff30fbbb Include Django stubs as a third party repo 2020-04-25 22:55:29 +02:00
Dave Halter 6d927d502e Make sure that infering the Django User model works 2020-04-25 22:55:29 +02:00
Dave Halter 11eb4f8fde Remove unused imports 2020-04-25 22:55:29 +02:00
Dave Halter f3eaa418bb Work with a NameWrapper, so Django goto works better 2020-04-22 09:32:39 +02:00
Dave Halter f9176578ea Fix another django modelfield issue 2020-04-22 00:54:43 +02:00
Dave Halter 17eeb73767 Some nitpicks 2020-04-22 00:41:59 +02:00
Dave Halter 7756792bba Fix another issue with foreign keys 2020-04-22 00:33:51 +02:00
Dave Halter ba4e3393d3 Fix ForeignKey issues with invalid values 2020-04-22 00:27:06 +02:00
Dave Halter 1a89fafce4 Some other small refactorings 2020-04-22 00:15:35 +02:00
Dave Halter df307b8eda Refactor a few things for django 2020-04-22 00:05:35 +02:00
Dave Halter 89ad9a500b Use debug instead of print for Django and fix indentation, see #1467 2020-04-21 23:41:54 +02:00
ANtlord 1d3082249f Debug information corrections. 2020-04-18 18:51:12 +03:00
ANtlord 09950233e7 Django is designated in test dependencies. 2020-04-18 18:36:04 +03:00
ANtlord d48575c8c5 Simple tests of Django plugin are added. 2020-04-18 16:13:48 +03:00
ANtlord 2a86f7d82f Django-plugin related code is removed from stdlib-plugin. 2020-01-21 21:21:43 +02:00
ANtlord 7287d67e7a Functions infers type of Django model field is refactored. 2020-01-21 21:12:38 +02:00
ANtlord c61ca0d27b Infering of django model fields is moved to a dedicated module. 2020-01-19 18:46:28 +02:00