Skip to content

Commit e25fe9c

Browse files
committed
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.
1 parent dcc5530 commit e25fe9c

File tree

7 files changed

+18
-0
lines changed

7 files changed

+18
-0
lines changed

first_api/music/__init__.py

Whitespace-only changes.

first_api/music/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

first_api/music/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class MusicConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
6+
name = "music"

first_api/music/migrations/__init__.py

Whitespace-only changes.

first_api/music/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

first_api/music/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

first_api/music/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

0 commit comments

Comments
 (0)