[fix]. 최근 게시물 폴더(제작자) 사용 허용 #351
Open
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.
PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요. PR을 보내기 전에 모든 항목을 확인해야 합니다.
PR 유형
어떤 유형의 PR인가요? (해당 항목에 모두 체크해주세요)
변경 사항
최근 게시물의 경우 latest 폴더 내 html 파일을 출력하게 되었으나, 시간이 지나서, 많은 제작자 사용자가 늘어날 경우
파일이 중첩될 경우를 생각해야 한다고 생각합니다.
따라서, 해당 파일을 폴더화를 허용한다면, 조금 더 나은 환경이 되지 않을 까 생각됩니다.

기존에
{{ render_latest_posts(request, 'pic_block', 'gallery', 4, 23)|safe }}
이렇게 사용중입니다.
기존과 동일하게 사용이 가능하며, 폴더 사용 시 폴더로 인식되게끔 설정합니다.
{{ render_latest_posts(request, 'sei/list/pic_block', 'gallery', 4, 23)|safe }}
이렇게 폴더를 적용함으로써, 다른 제작자와의 충돌 위험을 벗어날 수 있습니다.
정상적으로 동작함을 확인했습니다.
관련 이슈
기타 정보