본문 바로가기

Python/Django

(33)
[Django Channels 2.4.0] Building simple Chat Server / 채팅 서버 구현 튜토리얼 part.2 Implement a Chat Server [Python/Django] - [Django Channels] Building simple Chat Server / 채팅 서버 구현 튜토리얼 part.1 [Django Channels] Building simple Chat Server / 채팅 서버 구현 튜토리얼 part.1 막연히 개인 채팅 서버를 구축해보고싶다! 해서 찾아본 django channels 라이브러리 이를 통해 HTTP 외의 일을 할 수 있다. Django Channels란? https://channels.readthedocs.io/en/latest/index.html#django-cha.. jisun-rea.tistory.com 이어서... room view 추가하기 index view에서 채팅룸을 검색해서 들어갈 수 있다면, roo..
[Django channels] NotImplemented error / 장고 채널 통합 후 runserver할 때 나는 에러 Django channels 채팅 서버 구축 튜토리얼 도중에 난 에러 [Python/Django] - [Django Channels] Building simple Chat Server / 채팅 서버 구현 튜토리얼 part.1 에러 내용 Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Python\Python38-32\lib\threading.py", line 932, in _bootstrap_inner self.run() File "C:\Python\Python38-32\lib\threading.py", line 870, in..
[Django Channels 2.4.0] Building simple Chat Server / 채팅 서버 구현 튜토리얼 part.1 Basic Setup 막연히 개인 채팅 서버를 구축해보고싶다! 해서 찾아본 django channels 라이브러리 이를 통해 HTTP 외의 일을 할 수 있다. Django Channels란? https://channels.readthedocs.io/en/latest/index.html#django-channels Django Channels — Channels 2.4.0 documentation Channels is a project that takes Django and extends its abilities beyond HTTP - to handle WebSockets, chat protocols, IoT protocols, and more. It’s built on a Python specification called ..
[Django REST framework] REST란? / Django REST framework의 필요성 / Django REST framework Tutorial REST란? Architectural style for distributed hypermedia systems Guiding principles of REST Client-sever Stateless Cacheable Uniform interface Layered system Code on demand(optional) uses a resource identifier A truly RESTful API looks like hypertext resource methods HTTP GET/PUT/POST/DELETE 와는 엄밀히 말하면 다르다 딱 이 상황에 이렇게 써야해 라는 표준이 없음 상황에 따라 HTTP method를 사용할 수 있음 단, uniform interface 이기만 하면 됨 https://..
Django 예제 / Writing your first Django app, part 4 / Froms and generic views Django 공식 문서 v3.0 Tutorial https://docs.djangoproject.com/en/3.0/intro/tutorial04/ Writing your first Django app, part 4 | Django documentation | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com https://github.com/JisunParkRea/django-tutorial-mypractice JisunParkRea/django-tutorial-..
Django 예제 / Writing your first Django app, part 3 / Views and templates Django 공식 문서 v3.0 Tutorial https://docs.djangoproject.com/en/3.0/intro/tutorial03/ Writing your first Django app, part 3 | Django documentation | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com https://github.com/JisunParkRea/django-tutorial-mypractice JisunParkRea/django-tutorial-..
Django 예제 / Writing your first Django app, part 2 / Models and the admin site Django 공식 문서 v3.0 Tutorial https://docs.djangoproject.com/en/3.0/intro/tutorial02/ Writing your first Django app, part 2 | Django documentation | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com https://github.com/JisunParkRea/django-tutorial-mypractice JisunParkRea/django-tutorial-..
Django 예제 / Writing your first Django app, part 1 / Requests and responses Django 공식 문서 v3.0 Tutorial https://docs.djangoproject.com/en/3.0/intro/tutorial01/ Writing your first Django app, part 1 | Django documentation | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com 내가 연습하며 작성한 소스코드는 아래 깃허브에 올려두었다. https://github.com/JisunParkRea/django-tutorial-mypract..