generated from uofa-cmput404/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/uofa-cmput404/404f23project…
- Loading branch information
Showing
76 changed files
with
1,460 additions
and
160 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from django.contrib import admin | ||
from .models import Comment | ||
from .models import Comment, remoteComment | ||
|
||
admin.site.register(Comment) | ||
admin.site.register(remoteComment) | ||
# Register your models here. |
Binary file modified
BIN
-12 Bytes
(99%)
backend/comment/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
-12 Bytes
(94%)
backend/comment/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
from rest_framework import serializers | ||
from .models import Comment | ||
from .models import Comment,remoteComment | ||
|
||
class CommentSerializer(serializers.ModelSerializer): | ||
class Meta: | ||
model=Comment | ||
fields=["id","author","post","comment","contentType","published"] | ||
fields=["id","author","post","comment","contentType","published"] | ||
|
||
class remoteCommentSerializer(serializers.ModelSerializer): | ||
class Meta: | ||
model=remoteComment | ||
fields="__all__" |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-12 Bytes
(99%)
backend/friendship/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
-12 Bytes
(94%)
backend/friendship/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from django.contrib import admin | ||
from .models import Post | ||
from .models import Post,Image | ||
admin.site.register(Post) | ||
admin.site.register(Image) | ||
# Register your models here. |
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,13 @@ | ||
{ | ||
"type": "service_account", | ||
"project_id": "beeg-yoshi", | ||
"private_key_id": "d488d007cc41a940b7e29d2de4d3a5b3c753745a", | ||
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDIAvj5RCAN76vt\n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d705+NNLdTrjwq/EnPK7ZyRxWwF2ie/\nmzGQXgWmmCQJ24+WkIJP98PZhg9O1SJblhtjTmM8Q5y0gyhUk1fdVVpIv7LKD55X\nuCmrZX/otFbN/9Hr6CyoDmpexwFvIZb0Bnu1eBW4Sm/gQe5j96vNKhjv5wKBgQCi\nZL7+wb34BCz/3i0z0991BRTbSqGxxTlmMMJCUSDkmdD+9+Rjky9ieXgHBueNNrJC\nxbQo9FmIf8QOamuvqbvxw6UVnJIm/JHGfaLDA9Hsny4yON/oZR75ZDLh9e94jLLD\nyoAUuipKrp+G7hW88v69j8z8t6hHgO54rAk1NAla7QKBgHTKSHmjuAq3S/Xz4Rb7\nQESeBlcOvL3VV+enSgMCT7p23NJNphNKeFjwK4MyDCrmJCEuMoV33kV3Pxyx6bUw\ndSgDDK+oHifP7q8Zx00gJc1sdLHpJTf1wPhmx+PjkwXk35nRPcRPgQJPUa0EQboW\nOoKsBnbQaLKSGA7NHLb311Kf\n-----END PRIVATE KEY-----\n", | ||
"client_email": "[email protected]", | ||
"client_id": "107045459258425906515", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://oauth2.googleapis.com/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/beeg-yoshi-upload%40beeg-yoshi.iam.gserviceaccount.com", | ||
"universe_domain": "googleapis.com" | ||
} |
Binary file modified
BIN
-12 Bytes
(99%)
backend/post/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
-12 Bytes
(94%)
backend/post/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
from rest_framework import serializers | ||
from .models import Post | ||
from .models import Post,Image | ||
|
||
class PostSerializer(serializers.ModelSerializer): | ||
class Meta: | ||
model=Post | ||
# fields=["type","title","id","author","source","origin","description","contentType","content"] | ||
fields="__all__" | ||
class ImageSerializer(serializers.ModelSerializer): | ||
class Meta: | ||
model=Image | ||
fields="__all__" |
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
Oops, something went wrong.