Commit graph

17 commits

Author SHA1 Message Date
Aleksi Häkli
e24f0453bb
Remove reduntant AccessLog.trusted flag
All attempts that are logged are marked as trusted
and no other attempts are created in the code,
so having a flag that also uses a database index
is redundant and unnecessary.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 16:07:25 +02:00
Aleksi Häkli
19f84c5daa
Clean up and unify imports
- Use consistent alphabetical import ordering across files
- Use axes.conf.settings for internally loading settings

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-10 22:06:04 +02:00
Aleksi Häkli
a8732a383d
Use decorator syntax for admin views
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-07 18:42:53 +02:00
Aleksi Häkli
030810df79
Drop Python 2.7 and Python 3.4 support
Fixes #395

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-07 17:28:26 +02:00
Aleksi Häkli
c7e79aeaf2 Remove unused AccessAttempt.trusted flag
Fixes #344
2018-12-25 18:55:15 +01:00
Andreas Donig
8bfe343a78 Add translations for the admin fieldset headers 2018-07-17 15:57:24 +02:00
Camilo Nova
70baa268aa Tweak 2018-05-26 12:28:11 -05:00
Aleksi Häkli
b56a77c7e2 Fix admin site has_add_permission declarations 2018-04-21 00:33:44 +03:00
Aleksi Häkli
df8feb4f69
Backport unicode string literals for Python 2.7
Fixes #328
2018-04-18 15:21:09 +03:00
Camilo Nova
7504ef6761
Remove filtering by username
It became a problem when having more than 100 users.
2017-12-06 08:35:44 -05:00
ClairePhila
c2210f6b3b AccessAttempts and AccessLogs should neither be addable nor editable 2016-08-18 12:11:28 +02:00
Camilo Nova
7a395011a4 Removed filter by ip address 2016-06-23 17:34:57 -05:00
Virendra Rajput
7cec890411 added 'username' field to the Admin table 2013-07-01 16:27:31 +05:30
Camilo Nova
eabb14cd0f Improved code readability 2013-03-16 18:06:01 -05:00
Ken Cochrane
9682a39528 Added AccessLog model to log all access attempts. refactored the models so there is a common abstract base class. Also added the model to django admin 2012-11-25 15:46:45 -05:00
Mike Blume
b1b0cb390e lots of pep8 fixes 2011-04-12 21:05:32 +00:00
wheaties.box
404f02b85c Initial import
--HG--
extra : convert_revision : svn%3A6515f4ec-ab5a-11dd-8fd9-859366ca643a/trunk%402
2008-11-05 22:52:40 +00:00