Adam Dobrawy
|
ffa1a85dc7
|
Modernize Python syntax, add Python 3.8 (#398)
* Modernize Python syntax, add Python 3.8
* Update Python version & dist in TravisCI
* Add postgresql as addon
* Switch to psycopg2-binary
* Drop django.utils.six
|
2019-11-14 22:50:04 +06:00 |
|
Rémy HUBSCHER
|
c19ea5b04f
|
Add changelog.
|
2019-08-21 11:19:13 +02:00 |
|
Rémy HUBSCHER
|
e6c7b567d1
|
Remove unsupported django version hacks.
|
2019-08-21 11:02:23 +02:00 |
|
asday
|
1142254f62
|
not x in y => x not in y.
|
2019-08-19 22:38:30 +01:00 |
|
asday
|
51a720386c
|
Moved a binary operator to the start of a line.
|
2019-08-19 22:37:16 +01:00 |
|
Emin Bugra Saral
|
5d6f8f4e9f
|
Disable signals on save feature
|
2019-05-20 19:35:05 +02:00 |
|
JMP
|
2f142afd37
|
Fix imports pep8
|
2019-02-26 17:55:02 +01:00 |
|
JMP
|
38f8932e74
|
UUID model added
|
2019-02-26 17:32:56 +01:00 |
|
Guilherme Devincenzi
|
b739f6fe87
|
Add default manager as all_objects for SoftDeletableModel (#326)
* Add default manager as all_objects for SoftDeletableModel
* Document changes on changelog
|
2018-12-08 11:50:10 +06:00 |
|
Romain G
|
679af01f26
|
Add fix + tests for abstract manager inheritance issue with StatusModel
|
2017-01-09 19:02:59 +00:00 |
|
Bruno Alla
|
4311e24e98
|
Add soft parameter to delete method instead of new one
|
2016-11-28 23:45:48 +00:00 |
|
Bruno Alla
|
ff4afd7288
|
Add a purge_from_db to SoftDeletableModel
|
2016-11-17 08:56:59 +00:00 |
|
Bruno Alla
|
516c457747
|
SoftDeletableModel: use correct DB connection
When deleting a SoftDeletableModel instance, the `using` parameter
should be passed down to the `save()` method.
https://docs.djangoproject.com/en/1.10/topics/db/multi-db/#selecting-a-d
atabase-for-save
|
2016-11-09 19:49:31 +00:00 |
|
Radosław Ganczarek
|
9e90dde2e8
|
Add SoftDeletableModel
|
2016-09-12 15:11:34 +02:00 |
|
jarekwg
|
81eba92e61
|
flakes
|
2015-10-29 09:37:21 +11:00 |
|
jarekwg
|
665fc04b7e
|
Must use the 'Now' database function in django>=1.9
|
2015-10-28 23:47:33 +11:00 |
|
Carl Meyer
|
d797996d13
|
Fix Python 2.6 compatibility.
|
2015-01-28 12:17:34 -07:00 |
|
Carl Meyer
|
a1088dba52
|
Simpler cross-version implementation of _field_exists.
|
2015-01-28 10:59:20 -07:00 |
|
Carl Meyer
|
3110794afc
|
Fix 'add_*_manager' signal handlers for Django 1.8+.
|
2015-01-27 16:43:29 -07:00 |
|
Carl Meyer
|
8ea75e53f4
|
Check for StatusModel field name conflicts correctly.
|
2014-01-06 16:03:44 -07:00 |
|
Trey Hunner
|
32bb718107
|
Remove reduntant "as" in import
|
2013-04-12 17:13:35 -07:00 |
|
Trey Hunner
|
e6293d9b0c
|
Remove datetime imports unused by Django 1.4+
|
2013-04-12 17:13:31 -07:00 |
|
Trey Hunner
|
4f2673e6a4
|
Fix str/unicode problems in Python 3
Changes:
- Use unicode_literals from the future for Python 2.6.5+
- Use six's text_type for proper unicode use in Python 2/3
|
2013-04-12 14:16:42 -07:00 |
|
Trey Hunner
|
676424e388
|
Move ModelTracker to tracker module
|
2013-02-18 16:21:14 -08:00 |
|
Trey Hunner
|
c528a347e0
|
Add ModelTracker with tests
|
2013-02-16 14:52:31 -08:00 |
|
Carl Meyer
|
6ae66e0153
|
Removed a bunch of deprecated code.
|
2013-01-27 13:30:31 -08:00 |
|
Donald Stufft
|
31e5fb3c4a
|
updated to use the new 1.4 timezones
|
2012-01-07 17:43:39 -05:00 |
|
Carl Meyer
|
69d0985db1
|
Started deprecation for manager_from, InheritanceCastModel, and Django 1.1 support.
|
2011-04-16 14:51:14 -05:00 |
|
Carl Meyer
|
396dd9274f
|
use manager_from for inheritance-casting
|
2010-10-05 09:01:26 -04:00 |
|
Gregor Müllegger
|
216db6c098
|
Creating a custom QuerySet subclass for InheritanceCastModel to provide a way to batch cast a queryset of parents into child types. It's (2 + m) queries instead of (1 + n * 2) now (n: number of returned objects, m: number of different types in the queryset).
|
2010-10-01 20:43:22 +02:00 |
|
Carl Meyer
|
726f0de1dd
|
minor cleanup
|
2010-04-27 13:25:45 -04:00 |
|
Jannis Leidel
|
911b5223c8
|
Fixed bug which prevented the StatusModel and TimeframedModel to get the appropriate QueryManager instances added dynamically before instantiation.
|
2010-04-26 22:30:01 +02:00 |
|
Carl Meyer
|
545bccf3ce
|
convert StatusModifiedField to generic MonitorField, use post_init signal instead of extra DB query
|
2010-04-15 23:47:28 -04:00 |
|
Jannis Leidel
|
ff44c8de10
|
Moved the setting of the dynamic QueryManager to model classes. Removed metaclasses.
|
2010-04-16 00:01:38 +02:00 |
|
Jannis Leidel
|
cac35036d3
|
Fixed terrible typo.
|
2010-04-15 23:59:31 +02:00 |
|
Jannis Leidel
|
ee4f42f851
|
Added new `Choices class as a replacement for ChoiceEnum`. Also renamed Condition* et al to Status*.
|
2010-04-15 20:00:44 +02:00 |
|
Jannis Leidel
|
35d25f0a0f
|
Added TimeFramedModel and ConditionalModel.
|
2010-04-15 04:53:55 +02:00 |
|
Jannis Leidel
|
73b211309d
|
Marked a few labels for translation.
|
2010-04-15 04:49:51 +02:00 |
|
Jannis Leidel
|
7716c6397e
|
Minor cleanups.
|
2010-04-15 04:43:27 +02:00 |
|
Carl Meyer
|
2d018ca847
|
added TimeStampedModel
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702201429-hph32omqgfgrga52
|
2009-07-02 16:14:29 -04:00 |
|
Carl Meyer
|
3247ac5d4b
|
initial import (with InheritanceCastModel)
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702180302-idhig8pzmbv8nv7l
|
2009-07-02 14:03:02 -04:00 |
|