Skip to content

Commit

Permalink
update deps & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Leinfelder committed Oct 13, 2020
1 parent 137e343 commit db9fbb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ Set a fix site ID or init the database table via manage commands:
SITE_ID = 1
```

Oauth config & cors:
Oauth config:
```
OAUTH2_PROVIDER_APPLICATION_MODEL = 'oauth2_provider.Application'
```

cors for web apps:
```
CORS_ALLOW_ALL_ORIGINS = True
CORS_URLS_REGEX = r"^/oauth2/.*$"
CORS_ORIGIN_ALLOW_ALL = False
```


Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
install_requires=[
"django>=2.0",
"django-oauth-toolkit==1.3.2",
"django-cors-middleware>=1.3.1",
"django-cors-middleware>=1.5.0",
"django_python3_ldap>=0.11.3",
"django-allauth>=0.38.0",
"django-allauth>=0.42.0",
"django-fakeinline>=0.1.1",
],
classifiers=[
Expand All @@ -28,9 +28,9 @@
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Framework :: Django",
]
)

0 comments on commit db9fbb6

Please sign in to comment.