Skip to content

Commit 3becc91

Browse files
committed
Merge pull request remove_callback_verification
2 parents 974a311 + 1af470f commit 3becc91

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

oauth2app/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Client(models.Model):
8181
unique=True,
8282
max_length=CLIENT_SECRET_LENGTH,
8383
default=KeyGenerator(CLIENT_SECRET_LENGTH))
84-
redirect_uri = models.URLField(null=True)
84+
redirect_uri = models.URLField(verify_exists=False, null=True)
8585

8686

8787
class AccessRange(models.Model):
@@ -184,7 +184,7 @@ class Code(models.Model):
184184
default=TimestampGenerator())
185185
expire = models.PositiveIntegerField(
186186
default=TimestampGenerator(CODE_EXPIRATION))
187-
redirect_uri = models.URLField(null=True)
187+
redirect_uri = models.URLField(verify_exists=False, null=True)
188188
scope = models.ManyToManyField(AccessRange)
189189

190190

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,17 @@ def read(fname):
77
return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
88

99
setup(
10-
1110
name = "oauth2app-draft-16",
12-
13-
version = "0.3.0",
14-
11+
version = "0.3.1",
1512
long_description=read('README.rst'),
16-
1713
packages = find_packages(),
18-
1914
install_requires = ['Django>=1.2.3', 'simplejson>=2.1.5', "django-uni-form>=0.8.0"],
2015
include_package_data = True,
21-
2216
# metadata for upload to PyPI
2317
author = "John Wehr",
2418
author_email = "[email protected]",
2519
description = "Django OAuth 2.0 Server App",
2620
license = "MIT License",
2721
keywords = "django oauth2 oauth app server",
2822
url = "https://github.com/hiidef/oauth2app"
29-
3023
)

0 commit comments

Comments
 (0)