Maxim Kurnikov
d7e8222163
Fix related fields inheritance from abstract models ( #138 )
2019-08-24 02:35:55 +03:00
Maxim Kurnikov
09767210ec
Return corresponding descriptors for some fields in class access ( #137 )
...
* return corresponding descriptors for some related fields in class access
* return corresponding descriptors for file fields in class access
* fix tests
2019-08-23 04:03:03 +03:00
Maxim Kurnikov
b6a5ccabdf
move configuration to [mypy.plugins.django-stubs] inside mypy config file
2019-07-24 22:32:52 +03:00
Maxim Kurnikov
57796077c6
create(id=None) is valid, if id is AutoField
2019-07-24 13:38:50 +03:00
Maxim Kurnikov
6962b42cba
allow to use fields as Field objects outside Model classes
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
b86d33c718
allow custom app label for ForeignKey
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
248504c25a
various fixes
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
fee4aad3d0
fix OneToOneField without related_name
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
5bb1bc250d
add get_next_by_FOO, get_previous_by_FOO for date,datetime fields
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
bba6f769b5
add django.contrib.contenttypes to all tests by default
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
f2e79d3bfb
add GenericForeignKey support, remove some false-positives
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
0e72b2e6fc
more values(), values_list() cases
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
b81fbdeaa9
remove -semanal suffix
2019-07-24 13:38:49 +03:00