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.