Skip to content

Commit

Permalink
Drop South migrations, dependencies etc.
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
Tamas Szabo committed Jan 13, 2017
1 parent 4452cba commit 6fb204b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 119 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The settings `ACCOUNT_EXPIRY_DAYS` and `PASSWORD_EXPIRY_DAYS` are provided for
controling how frequently a user should log in and/or change their password before
their account will be disabled.

The user accounts are disabled on user login by default.
The user accounts are disabled on user login by default.
You can also run the `disable_inactive_users` from a cron job to disable inactive
user accounts.

Expand All @@ -55,8 +55,7 @@ for custom notification.
Has been developed and tested on Django 1.9, but should work on other
versions too.

Django migrations and (South migrations for Django 1.7 and lower) are provided to make
schema changes easier.
Django migrations and are provided to make schema changes easier.

## Installation

Expand Down Expand Up @@ -141,7 +140,7 @@ MIDDLEWARE_CLASSES = (
```

Add `useraudit.backend.AuthFailedLoggerBackend` to
`settings.AUTHENTICATION_BACKENDS` **as the last element** and
`settings.AUTHENTICATION_BACKENDS` **as the last element** and
`useraudit.password_expiry.AccountExpiryBackend` **as the first element**:

```
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Django==1.8.8
South==1.0.2
Django==1.8.0
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
packages=[
'useraudit',
'useraudit.migrations',
'useraudit.south_migrations',
],
include_package_date=True,
)
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ skip_missing_interpreters = True
commands =
./runtests.sh {env:RUNTEST_ARGS:}
deps =
django-17: Django>=1.7,<1.8
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
Expand All @@ -19,4 +18,4 @@ deps =
pep257==0.7.0
pep8==1.6.2
flake8==2.5.1
commands = flake8 useraudit --max-line-length=120 --exclude=migrations,south_migrations,tests
commands = flake8 useraudit --max-line-length=120 --exclude=migrations,tests
59 changes: 0 additions & 59 deletions useraudit/south_migrations/0001_initial.py

This file was deleted.

This file was deleted.

Empty file.

0 comments on commit 6fb204b

Please sign in to comment.