Skip to content

Commit 406bfb9

Browse files
committed
Create app core
1 parent ce1cbd2 commit 406bfb9

File tree

8 files changed

+20
-0
lines changed

8 files changed

+20
-0
lines changed

core/__init__.py

Whitespace-only changes.

core/admin.py

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

core/apps.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class CoreConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
6+
name = "core"

core/migrations/__init__.py

Whitespace-only changes.

core/models.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

core/tests.py

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

core/views.py

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

minesweeper/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
"django.contrib.staticfiles",
4444
# third-party apps
4545
"rest_framework",
46+
# local apps
47+
"core",
4648
]
4749

4850
MIDDLEWARE = [

0 commit comments

Comments
 (0)