Skip to content

Commit 7a154cf

Browse files
committed
Releasing v2.2.0
1 parent 9587754 commit 7a154cf

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Change Log
22

3-
## 2.2.0 (Not released)
4-
* Added: MFA_REDIRECT_AFTER_REGISTRATION settings parameter
3+
## 2.2.0
4+
* Added: MFA_REDIRECT_AFTER_REGISTRATION settings parameter
5+
* Fixed: Deprecation error for NULBooleanField
56

67
## 2.1.2
78
* Fixed: Getting timestamp on Python 3.7 as ("%s") is raising an exception
89
* Upgraded to FIDO 0.9.1
910

1011

1112
## 2.1.1
12-
* Fixed: FIDO2 version in requirments.txt file.
13+
* Fixed: FIDO2 version in requirements.txt file.
1314

1415
## 2.1.0
1516
* Added Support for Touch ID for Mac OSx and iOS 14 on Safari

mfa/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__="2.2.0b1"
1+
__version__="2.2.0"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 2.2 on 2021-05-30 06:22
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('mfa', '0010_auto_20201110_0557'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='user_keys',
15+
name='owned_by_enterprise',
16+
field=models.BooleanField(blank=True, default=None, null=True),
17+
),
18+
]

mfa/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class User_Keys(models.Model):
1515
enabled=models.BooleanField(default=True)
1616
expires=models.DateTimeField(null=True,default=None,blank=True)
1717
last_used=models.DateTimeField(null=True,default=None,blank=True)
18-
owned_by_enterprise=models.NullBooleanField(default=None,null=True,blank=True)
18+
owned_by_enterprise=models.BooleanField(default=None,null=True,blank=True)
1919

2020
def save(self, force_insert=False, force_update=False, using=None, update_fields=None):
2121
if self.key_type == "Trusted Device" and self.properties.get("signature","") == "":

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='django-mfa2',
7-
version='2.2.0b1',
7+
version='2.2.0',
88
description='Allows user to add 2FA to their accounts',
99
long_description=open("README.md").read(),
1010
long_description_content_type="text/markdown",
@@ -31,12 +31,14 @@
3131
include_package_data=True,
3232
zip_safe=False, # because we're including static files
3333
classifiers=[
34-
"Development Status :: 4 - Beta",
34+
"Development Status :: 5 - Production/Stable",
3535
"Environment :: Web Environment",
3636
"Framework :: Django",
3737
"Framework :: Django :: 2.0",
3838
"Framework :: Django :: 2.1",
3939
"Framework :: Django :: 2.2",
40+
"Framework :: Django :: 3.0",
41+
"Framework :: Django :: 3.1",
4042
"Intended Audience :: Developers",
4143
"Operating System :: OS Independent",
4244
"Programming Language :: Python",

0 commit comments

Comments
 (0)