Skip to content

이수인 과제 03 제출#103

Open
silee1103 wants to merge 7 commits into
wafflestudio:mainfrom
silee1103:week3
Open

이수인 과제 03 제출#103
silee1103 wants to merge 7 commits into
wafflestudio:mainfrom
silee1103:week3

Conversation

@silee1103

@silee1103 silee1103 commented Nov 26, 2023

Copy link
Copy Markdown

늦은 제출 죄송합니다.
http://blog-assign3-4-env.eba-ispwk2m2.us-west-2.elasticbeanstalk.com/posts
url은 아래와 같습니다.

 # post
 path('posts', PostListView.as_view(), name='post-list'),
 path('posts/new', PostCreateView.as_view(), name='post-create'),
 path('posts/<int:post_id>', PostDetailView.as_view(), name='post-detail]'),
 path('posts/<int:post_id>/delete', PostDeleteView.as_view(), name='post-delete'),
 path('posts/<int:post_id>/update', PostUpdateView.as_view(), name='post-update'),
 
 # comment
 path('posts/<int:post_id>/comments', CommentListView.as_view(), name='comment-list'),
 path('posts/<int:post_id>/comments/new', CommentCreateView.as_view(), name='comment=create'),
 path('posts/<int:post_id>/comments/<int:comment_id>/update', CommentUpdateView.as_view(), name='comment-update'),
 path('posts/<int:post_id>/comments/<int:comment_id>/delete', CommentDeleteView.as_view(), name='comment-delete'),
 
 # tag
 path('posts/tags/<str:tag_content>', TagListPostView.as_view(), name='tag-post-list'),
 path('comments/tags/<str:tag_content>', TagListCommentView.as_view(), name='tag-comment-list'),


// ============== 추가 url =============== 
path('admin/', admin.site.urls),
# allauth
path('accounts/login/', LoginView.as_view(), name='account_login'),
path('accounts/logout/', LogoutView.as_view(), name='account_logout'),
path('accounts/signup/', SignupView.as_view(), name='account_signup'),

update할 때 태그를 업데이트할 수 있게 구현은 해두었으나 tag 관리로 인해 시간이 너무 많이 들어서 update 시 tag delete 기능을 꺼두었습니다. 그러므로 현 버전에서 update 할 때 tag는 없는 기능이라고 생각해주시길 바랍니다....!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant