Hasan Ramezani
3cd34c4d07
Add .pre-commit-config.yaml file.
2021-11-04 20:40:23 +01:00
Hasan Ramezani
1b96d8f828
Add Python 3.10 to testing matrix.
2021-11-04 20:40:23 +01: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
Jan-Jelle Kester
31418d54f2
Changes for Jazzband ( #269 )
...
* Update repository references to Jazzband
Issue #268
* Add Jazzband badge to README
Issue #268
* Add Jazzband contribution guideline
Issue #268
2020-10-23 12:16:27 +02:00
Jan-Jelle Kester
565239180e
Review improvements
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
7bb17fd5d2
Remove 'Django' requirement to satisfy Travis
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
33fa249071
Allow higher versions of python-dateutil
...
Fixes #162 , closes #184
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
346105dcf9
Use more generic .pk to get primary key instead of .id
...
Fixes #140
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
f4edfc0592
Management command improvements
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
f14f6b34ee
Remove stale code
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
469fe362de
Code improvements
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
228c5949fb
Use admin for test site
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
c619b8c606
Support Django 3.1
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
2010b49d06
Fix Django 3.0 field choices diff
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
3acab4322b
Drop Python 2, support Django 3.0, update dependencies
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
4e7c640ba0
Bump copyright year
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
ee8a700b1b
Clean up project structure
2020-09-07 16:52:32 +02:00
Jan-Jelle
c3b06045e0
Use Travis CI deployment v2
2019-12-16 11:21:35 +01:00
Jan-Jelle Kester
16daa13575
Supply PyPI credentials via environment variables ( #222 )
2019-12-03 15:36:40 +01:00
Keith Bussell
2aecef2760
Fix TOXENV variable name in deploy step ( #217 )
2019-11-12 20:42:27 +01:00
Keith Bussell
843495f669
Remove multi-db tests to make them more reliable
...
Fixes #213
2019-11-11 18:13:06 +01:00
Keith Bussell
e138ee8855
Bump version
2019-11-11 18:13:06 +01:00
Keith Bussell
7fa9636c18
Add Python 3.7 classifier
2019-11-11 18:13:06 +01:00
Keith Bussell
8b84777117
Ensure db affinity between model and LogEntry
...
This test case would fail occasionally--sometimes accessing `history`
would try pulling from "default" instead of the "postgres" database.
To fix this issue generally, this change:
https://github.com/jjkester/django-auditlog/pull/94/files#diff-10976dd6652a7dba50d5de998672e49bR60
should be propagated somehow into `AuditlogHistoryField`.
2019-11-11 18:13:06 +01:00
Keith Bussell
e0e6acb49c
Use matrix to define TOXENV in Travis
2019-11-11 18:13:06 +01:00
Keith Bussell
c1d25a9ab5
Update testing for supported Django versions
...
Add support for Django 2.1 and 2.2, and drop support for < 1.11
2019-11-11 18:13:06 +01:00
Varuna Bamunusinghe
9be61a84a1
Fix tests for multiple database support.
2019-11-11 18:13:06 +01:00
Jan-Jelle Kester
12af4d45a0
Fix deploy config
...
* Bump version
* Set pypi config in .travis.yml
2018-09-18 22:56:54 +02:00
Jan-Jelle Kester
70e22afc78
Bump version
2018-09-18 11:09:10 +02:00
Ryan Castner
a22978e05b
(docs) Update README to include steps to release ( #185 )
2018-09-17 14:56:44 -04:00
Jan-Jelle Kester
aab8f47f97
Add deploy config for Travis CI ( #183 )
...
* Add deploy config for Travis CI
* Use binary psycopg2 distribution
* Remove group to get newer postgres version
* Revert "Remove group to get newer postgres version"
This reverts commit 2c22ae3248 .
* Default to Postgres 9.4, Django 2.0 dropped support for <=9.3.
https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version
2018-09-17 14:30:08 -04:00
David D Lowe
bcf1dbf0bf
Indicate Python 3 support in metadata ( #176 )
2018-05-30 14:12:25 -04:00