From e25fe9c201c70106c7d0bf5f7830605cedc7a567 Mon Sep 17 00:00:00 2001 From: FeliPython Date: Sun, 14 Apr 2024 20:31:20 -0300 Subject: [PATCH] Create basic structure for 'music' Django application This commit introduces the basic file structure for a new Django application called 'music'. It includes the minimum set of required files such as 'admin.py', 'apps.py', 'models.py', 'tests.py', and 'views.py'. Each file is created with Django's default comments and content. --- first_api/music/__init__.py | 0 first_api/music/admin.py | 3 +++ first_api/music/apps.py | 6 ++++++ first_api/music/migrations/__init__.py | 0 first_api/music/models.py | 3 +++ first_api/music/tests.py | 3 +++ first_api/music/views.py | 3 +++ 7 files changed, 18 insertions(+) create mode 100644 first_api/music/__init__.py create mode 100644 first_api/music/admin.py create mode 100644 first_api/music/apps.py create mode 100644 first_api/music/migrations/__init__.py create mode 100644 first_api/music/models.py create mode 100644 first_api/music/tests.py create mode 100644 first_api/music/views.py diff --git a/first_api/music/__init__.py b/first_api/music/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/first_api/music/admin.py b/first_api/music/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/first_api/music/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/first_api/music/apps.py b/first_api/music/apps.py new file mode 100644 index 0000000..015b223 --- /dev/null +++ b/first_api/music/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MusicConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "music" diff --git a/first_api/music/migrations/__init__.py b/first_api/music/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/first_api/music/models.py b/first_api/music/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/first_api/music/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/first_api/music/tests.py b/first_api/music/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/first_api/music/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/first_api/music/views.py b/first_api/music/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/first_api/music/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.