Alieh Rymašeŭski
a13f8d9e60
Pin psycopg2 to version compatible with Django 2.2
2021-06-25 12:21:03 +03:00
Alieh Rymašeŭski
d7a73e5cbf
Merge changes from upstream
2021-06-24 15:19:21 +03:00
Alieh Rymašeŭski
f12e8a74fc
Remove multiselectfield from tests
...
The upstream dropped this test long ago, and these tests now break on
Django 3.1+, so I don't want to invest into these tests too much.
2021-06-24 14:58:26 +03:00
Alieh Rymašeŭski
1fc1e678c7
Replace list() with get_models()
2021-06-24 14:57:30 +03:00
Hasan Ramezani
d067de73b6
Replace MIDDLEWARE_CLASSES with MIDDLEWARE in docs.
2021-06-24 14:41:16 +03:00
Hasan Ramezani
cb99bcfbc4
Add DEFAULT_AUTO_FIELD to test settings.
2021-06-24 14:41:14 +03:00
Hasan Ramezani
093b8093de
Add Django 3.2 support.
2021-06-24 14:41:09 +03:00
Hasan Ramezani
cf63860dad
Remove Django 3.0 support.
2021-06-24 14:41:05 +03:00
Blas Isaias Fernández
943d5a9e6b
dict.iteritems was removed from python 3
2021-06-24 14:40:36 +03:00
Hasan Ramezani
ea57dfd9c1
Remove Python 3.5 support. ( #301 )
2021-06-24 14:40:12 +03:00
Jannis Leidel
ccf4b69113
Remove note about maintenance.
2021-06-24 14:39:53 +03:00
Hasan Ramezani
327f8c7067
Add Django supported versions to setup.py classifiers.
2021-06-24 14:39:42 +03:00
Hasan Ramezani
94182f86e9
Replace old-style routing with new-style
2021-06-24 14:37:32 +03:00
Hasan Ramezani
59bf633fbf
Add Supported Django versions badge to README.
2021-06-24 14:37:15 +03:00
Alieh Rymašeŭski
783316331f
Support Python 3.9
2021-06-24 14:37:07 +03:00
Alieh Rymašeŭski
e404e82795
Apply CI changes from upstream
...
Notable changes include:
- removal of Travis in favor of GH Actions;
- configuration to get version from git and not from code.
2021-06-24 14:37:03 +03:00
Alieh Rymašeŭski
458f3e3766
Bump version to 0.7.3
2021-06-24 14:33:46 +03:00
Alieh Rymašeŭski
4232d685bd
Apply isort to the code base
2021-06-24 14:33:30 +03:00
Alieh Rymašeŭski
49d92b30fe
Replace relative imports with absolute
2021-06-24 14:31:23 +03:00
Alieh Rymašeŭski
b130e3088e
Add isort
2021-06-24 14:31:18 +03:00
Alieh Rymašeŭski
7801239387
Blacken the code
2021-06-24 13:04:48 +03:00
Alieh Rymašeŭski
c57be3a2c1
Add black
2021-06-24 13:03:36 +03:00
Alieh Rymašeŭski
5d2bc88b2d
Test LogEntry.actor field
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
f647966210
Stop handling an impossible case
...
We check eliminate the case with zero log entries when checking that
obj.history.count() is exactly 1.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
2b44eebd50
Use assertEqual to assert equality
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
6c0c83e7e5
Remove unused imports
...
Import of RelatedModel was left in place as it just lacks respective
tests.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
034ba57d93
Fix a misleading docstring
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
13cad5b25a
Explicitly unset the threadlocal
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
9629f3f8d7
Move signal management to a context manager
...
This change allows setting the same signals when the request is not
present, i.e. in a celery task.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
3eb5d66c39
Use get_user_model
2021-06-24 12:55:22 +03:00
Hasan Ramezani
e2913da1bb
Replace MIDDLEWARE_CLASSES with MIDDLEWARE in docs.
2021-06-03 13:23:11 +02:00
Hasan Ramezani
1a437f4e40
Add DEFAULT_AUTO_FIELD to test settings.
2021-05-25 00:50:02 +02:00
Hasan Ramezani
da7b1441d0
Add Django 3.2 support.
2021-05-25 00:50:02 +02:00
Hasan Ramezani
ca5aa82714
Remove Django 3.0 support.
2021-05-25 00:50:02 +02:00
Panagiotis Simakis
457b04b448
Replace deprecated smart_text() with smart_str().
2021-05-25 00:50:02 +02:00
Blas Isaias Fernández
55a66fc73a
dict.iteritems was removed from python 3
2021-05-24 11:26:11 +02:00
Hasan Ramezani
2e477ab04a
Remove Python 3.5 support. ( #301 )
2021-05-24 01:25:46 +02:00
Jannis Leidel
2c6bf286b4
Remove note about maintenance.
2021-04-26 10:07:06 +02:00
Hasan Ramezani
d77803b3b4
Add Django supported versions to setup.py classifiers.
2020-12-07 21:27:17 +01:00
Hasan Ramezani
3e8d398c8e
Remove Python 3.4 from setup.py classifiers.
2020-12-06 23:10:18 +01:00
Hasan Ramezani
6131430ff7
Change relative imports to absolute.
2020-12-06 23:10:18 +01:00
Hasan Ramezani
497c83fc83
Add isort and sort orders with isort.
2020-12-06 23:10:18 +01:00
Hasan Ramezani
f5bb5cb1a2
Add black and format files with black.
2020-12-06 23:10:18 +01:00
Hasan Ramezani
b700e40f65
Remove old django related codes.
2020-12-06 22:10:05 +01:00
Hasan Ramezani
f08b521b8b
Add Supported Django versions badge to README.
2020-12-06 21:42:21 +01:00
Hasan Ramezani
e9cfdb2e48
Add Python 3.9 support.
2020-12-06 21:42:21 +01:00
Hasan Ramezani
793cb45960
Add Python 3.8 to setup.py classifiers.
2020-12-06 21:42:21 +01:00
Jannis Leidel
910089597e
Initial GitHub Actions workflow. ( #283 )
...
* Initial GitHub Actions workflow.
* Use correct Postgres port.
* Fix duplicate.
* Use POSTGRES_HOST?
* Fixing postgres config?
* Pass test env vars with Tox.
* Work around issue with Django 3.1.
* Write coverage file.
* Add release workflow.
* Remove Travis config file.
* Update .github/workflows/test.yml
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update auditlog_tests/tests.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update .github/workflows/test.yml
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update README.md
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Add Django 3.1 to tox config.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-11-26 10:45:20 +01:00
Jannis Leidel
50da34125c
Simplified travis config and added Jazzband release config. ( #281 )
...
* Simplified travis config and added Jazzband release config.
* Migrate to travis-ci.com.
* Split requirements to prevent env spoilage.
* Add docs requirements.
* Huh
* type
* Add psycopg2 doc requirements.
2020-11-25 22:15:14 +01:00
Alieh Rymašeŭski
a0a0726982
Bump version to 0.7.2
2020-11-18 13:29:50 +03:00