From 53a495e759ab01b305ba5e2820eaea567ec14c51 Mon Sep 17 00:00:00 2001 From: Shim Kyumin Date: Wed, 31 Jul 2024 15:16:53 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20users=20=EC=95=B1=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- users/__init__.py | 0 users/admin.py | 3 --- users/apps.py | 6 ------ users/migrations/0001_initial.py | 31 ------------------------------- users/migrations/__init__.py | 0 users/models.py | 11 ----------- users/serializers.py | 8 -------- users/tests.py | 3 --- users/views.py | 3 --- 9 files changed, 65 deletions(-) delete mode 100644 users/__init__.py delete mode 100644 users/admin.py delete mode 100644 users/apps.py delete mode 100644 users/migrations/0001_initial.py delete mode 100644 users/migrations/__init__.py delete mode 100644 users/models.py delete mode 100644 users/serializers.py delete mode 100644 users/tests.py delete mode 100644 users/views.py diff --git a/users/__init__.py b/users/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/users/admin.py b/users/admin.py deleted file mode 100644 index 4185d36..0000000 --- a/users/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -# from django.contrib import admin - -# Register your models here. diff --git a/users/apps.py b/users/apps.py deleted file mode 100644 index 88f7b17..0000000 --- a/users/apps.py +++ /dev/null @@ -1,6 +0,0 @@ -from django.apps import AppConfig - - -class UsersConfig(AppConfig): - default_auto_field = "django.db.models.BigAutoField" - name = "users" diff --git a/users/migrations/0001_initial.py b/users/migrations/0001_initial.py deleted file mode 100644 index b5b9347..0000000 --- a/users/migrations/0001_initial.py +++ /dev/null @@ -1,31 +0,0 @@ -# Generated by Django 4.2.14 on 2024-07-26 14:19 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - initial = True - - dependencies = [] - - operations = [ - migrations.CreateModel( - name="User", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("email", models.CharField(max_length=255)), - ("password", models.CharField(max_length=255)), - ("nickname", models.CharField(blank=True, max_length=255, null=True)), - ("image", models.CharField(blank=True, max_length=255, null=True)), - ("reliability", models.SmallIntegerField(blank=True, null=True)), - ], - ), - ] diff --git a/users/migrations/__init__.py b/users/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/users/models.py b/users/models.py deleted file mode 100644 index b061854..0000000 --- a/users/models.py +++ /dev/null @@ -1,11 +0,0 @@ -from django.db import models - -# Create your models here. - - -class User(models.Model): - email = models.CharField(max_length=255) - password = models.CharField(max_length=255) - nickname = models.CharField(max_length=255, null=True, blank=True) - image = models.CharField(max_length=255, null=True, blank=True) - reliability = models.SmallIntegerField(null=True, blank=True) diff --git a/users/serializers.py b/users/serializers.py deleted file mode 100644 index 0ec035c..0000000 --- a/users/serializers.py +++ /dev/null @@ -1,8 +0,0 @@ -from rest_framework import serializers -from .models import User - - -class UserSerializer(serializers.ModelSerializer): - class Meta: - model = User - fields = "__all__" diff --git a/users/tests.py b/users/tests.py deleted file mode 100644 index a79ca8b..0000000 --- a/users/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -# from django.test import TestCase - -# Create your tests here. diff --git a/users/views.py b/users/views.py deleted file mode 100644 index fd0e044..0000000 --- a/users/views.py +++ /dev/null @@ -1,3 +0,0 @@ -# from django.shortcuts import render - -# Create your views here.