Maxim Kurnikov
7e3f4bfa02
Fix ForeignKey type for self-reference defined in the abstract model ( #200 )
2019-10-05 21:36:29 +03:00
Maxim Kurnikov
db9ff6aaf6
Fix crash if model from same app referenced in RelatedField cannot be resolved ( #199 )
...
* do not crash if model from same app refd in ForeignKey cannot be resolved
* bump to 1.2.0
2019-10-05 20:00:51 +03:00
Maxim Kurnikov
2c23d8e70f
Use runtime information to determine whether class is a models.Model subclass ( #182 )
2019-09-28 04:05:54 +03:00
Maxim Kurnikov
29ac1c3017
Split AddManagers for model in separate stages to process IncompleteDefnException properly ( #171 )
2019-09-18 02:20:20 +03:00
Maxim Kurnikov
23ad65033b
add custom Field processing for mixins used in the Model subclasses ( #167 )
2019-09-18 01:40:41 +03:00
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