Skip to content

Commit

Permalink
add app
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Jul 25, 2024
1 parent 73cb589 commit 2d1141e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chat-room/main.py

This file was deleted.

Empty file.
3 changes: 3 additions & 0 deletions chat-room/mysite/chat/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions chat-room/mysite/chat/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class ChatConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'chat'
Empty file.
3 changes: 3 additions & 0 deletions chat-room/mysite/chat/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
3 changes: 3 additions & 0 deletions chat-room/mysite/chat/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions chat-room/mysite/chat/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit 2d1141e

Please sign in to comment.