diff --git a/chat-room/main.py b/chat-room/main.py deleted file mode 100644 index 2fbd643..0000000 --- a/chat-room/main.py +++ /dev/null @@ -1,3 +0,0 @@ - -if __name__ == '__main__': - print(123) \ No newline at end of file diff --git a/chat-room/mysite/chat/__init__.py b/chat-room/mysite/chat/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/chat-room/mysite/chat/admin.py b/chat-room/mysite/chat/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/chat-room/mysite/chat/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/chat-room/mysite/chat/apps.py b/chat-room/mysite/chat/apps.py new file mode 100644 index 0000000..2fe899a --- /dev/null +++ b/chat-room/mysite/chat/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ChatConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'chat' diff --git a/chat-room/mysite/chat/migrations/__init__.py b/chat-room/mysite/chat/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/chat-room/mysite/chat/models.py b/chat-room/mysite/chat/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/chat-room/mysite/chat/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/chat-room/mysite/chat/tests.py b/chat-room/mysite/chat/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/chat-room/mysite/chat/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/chat-room/mysite/chat/views.py b/chat-room/mysite/chat/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/chat-room/mysite/chat/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.