Skip to content

Commit

Permalink
spelling changes and default host url is updated to the new default (#38
Browse files Browse the repository at this point in the history
)

* spelling changes and default host url is updated to the new default

* bump version
  • Loading branch information
chmoder authored Feb 24, 2024
1 parent 21e20ff commit 84fa275
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ KEYCLOAK_EXEMPT_URIS = []
# KEYCLOAK_CACHE_TTL: number of seconds to cache keyclaok public
# keys
KEYCLOAK_CONFIG = {
'KEYCLOAK_SERVER_URL': 'http://localhost:8080/auth',
'KEYCLOAK_SERVER_URL': 'http://localhost:8080',
'KEYCLOAK_REALM': 'TEST',
'KEYCLOAK_CLIENT_ID': 'client-backend',
'KEYCLOAK_CLIENT_SECRET_KEY': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Expand Down Expand Up @@ -173,7 +173,7 @@ class BankViewSet(viewsets.ModelViewSet):
def list(self, request):
"""
Overwrite method
You can especify your rules inside each method
You can specify your rules inside each method
using the variable 'request.roles' that means a
list of roles that came from authenticated token.
See the following example bellow:
Expand Down Expand Up @@ -219,7 +219,7 @@ class JudgementView(views.APIView):
def get(self, request, format=None):
"""
Overwrite method
You can especify your rules inside each method
You can specify your rules inside each method
using the variable 'request.roles' that means a
list of roles that came from authenticated token.
See the following example bellow:
Expand Down Expand Up @@ -265,7 +265,7 @@ Before everything, you must install VirtualEnv.
# Install venv in root project folder
$ python3 -m venv env && source env/bin/activate

# Install dependences
# Install dependencies
$ pip install -r requirements.txt

# Run tests
Expand All @@ -287,7 +287,7 @@ $ python3 -m venv env && source env/bin/activate
# Update packages for development
$ python -m pip install --upgrade -r requirements.txt

# Generate distribuition -> it's on me for while ;)
# Generate distribution -> it's on me for while ;)
$ python setup.py sdist

# Checks if the package has no errors
Expand Down Expand Up @@ -321,7 +321,7 @@ $ docker-compose up
# Install venv in root project folder
$ python3 -m venv env && source env/bin/activate

# Install dependences for this library
# Install dependencies for this library
$ python -m pip install --upgrade -r requirements.txt

# Generate a local distribution for django-keyclaok-auth
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="django-keycloak-auth",
version="0.9.9",
version="1.0.0",
packages=find_packages(),

# Project uses reStructuredText, so ensure that the docutils get
Expand Down

0 comments on commit 84fa275

Please sign in to comment.