File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ Browse the documentation at: http://django-postgres-extra.readthedocs.io
2222Major features
2323-----
2424* Single query, concurrency safe upserts, or safely ignoring a duplicate insert.
25- * Using PostgreSQL's ``ON CONFLICT DO ... ``.
2625* Unique and not null constraints for `HStoreField `.
2726* Signals for updates.
2827
Original file line number Diff line number Diff line change @@ -207,6 +207,9 @@ def _get_model_field(self, name: str):
207207 name:
208208 The name of the field to look for.
209209
210+ This can be both the actual field name, or
211+ the name of the column, both will work :)
212+
210213 Returns:
211214 The field with the specified name or None if
212215 no such field exists.
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'django-postgres-extra' ,
10- version = '1.6 ' ,
10+ version = '1.7 ' ,
1111 packages = find_packages (),
1212 include_package_data = True ,
1313 license = 'MIT License' ,
You can’t perform that action at this time.
0 commit comments