같은 도메인으로 다른 포트를 사용하여 여러 서버를 실행했을 때, 관련 설정을 바꿔주지 않으면 Django가 사용하는 기본 Session 이름이 같아 충돌이 나게됨.
CSRF_COOKIE_NAME = '{변경할 CSRF토큰명}'
SESSION_COOKIE_NAME = '{변경할 Session아이디명}'
https://docs.djangoproject.com/ko/4.1/ref/settings/#sessions
CSRF_COOKIE_NAME
Default: 'csrftoken'
The name of the cookie to use for the CSRF authentication token. This can be whatever you want (as long as it’s different from the other cookie names in your application).
SESSION_COOKIE_NAME
Default: 'sessionid'
The name of the cookie to use for sessions. This can be whatever you want (as long as it’s different from the other cookie names in your application).