Skip to content

Commit

Permalink
Create basic structure for 'music' Django application
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lipemorais committed Apr 14, 2024
1 parent dcc5530 commit e25fe9c
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
Empty file added first_api/music/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions first_api/music/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 first_api/music/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class MusicConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "music"
Empty file.
3 changes: 3 additions & 0 deletions first_api/music/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 first_api/music/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 first_api/music/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 e25fe9c

Please sign in to comment.