-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created API endpoint for GET request (list view) for USERS with proper JWT authentication #77
Open
Esterello2
wants to merge
42
commits into
dev
Choose a base branch
from
apis/post-users
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
90d71a7
Create serializers.py
Esterello2 d9792c7
Update urls.py
Esterello2 fd712df
Update views.py
Esterello2 734d40d
Update views.py
Esterello2 e48159f
Update
Esterello2 f3bc490
Deleted some files
Esterello2 7ec1924
Merge branch 'dev' of https://github.com/uchicago-cs/chigame into api…
Esterello2 6525622
Fixed CI error
Esterello2 ed8943a
Merge branch 'dev' into apis/post-users
Esterello2 d4d41c1
Fixing CI issues
Esterello2 23ae6ea
fixing CI issue in urls.py
Esterello2 b04b0fa
Fixing CI issues
Esterello2 6ee326c
Fixing CI
Esterello2 8be6de9
Fix CI
Esterello2 d05711d
CI ISsue
Esterello2 2a5fa11
Fixing CI
Esterello2 2759d2a
sd
Esterello2 554e5e8
djsdf
Esterello2 f17eda4
update:
Esterello2 8a2f865
Merge branch 'dev' into apis/post-users
Esterello2 4deeba5
update
Esterello2 c2331b4
Merge branch 'dev' into apis/post-users
majorsylvie 74a189d
Merge branch 'dev' into apis/post-users
Esterello2 d4d3b89
CI update
Esterello2 c0b0444
Merge branch 'dev' of https://github.com/uchicago-cs/chigame into api…
Esterello2 fd0ed4b
update
Esterello2 3842b7e
update
Esterello2 5375012
ipdate
Esterello2 4999700
Merge branch 'dev' into apis/post-users
Esterello2 1012d69
update
Esterello2 6d896f5
updated
Esterello2 1b977ed
update
Esterello2 6b4988c
Merge branch 'dev' into apis/post-users
majorsylvie d47a503
Merge branch 'dev' into apis/post-users
majorsylvie db313f6
Merge branch 'dev' into apis/post-users
Esterello2 3516339
linter
Esterello2 074d813
Merge branch 'dev' into apis/post-users
majorsylvie c0bfd4c
Merge branch 'dev' into apis/post-users
Esterello2 e6670af
linting
Esterello2 31d910c
update
Esterello2 d0726f7
Merge branch 'dev' into apis/post-users
cuyakonwu 15e23ee
Merge branch 'dev' into apis/post-users
majorsylvie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from rest_framework.permissions import BasePermission | ||
|
||
|
||
class IsUnauthenticated(BasePermission): | ||
def has_permission(self, request, view): | ||
return not request.user or not request.user.is_authenticated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave the comments in, it helps with organization.