From 27c36d28a2695801be736d3e49ee21ab7e551c0d Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 24 Mar 2020 12:59:43 +0100 Subject: [PATCH] Add core app Add migrations folders to .gitignore --- .gitignore | 3 ++- core/__init__.py | 0 core/admin.py | 3 +++ core/apps.py | 5 +++++ core/models.py | 3 +++ core/tests.py | 3 +++ core/views.py | 3 +++ 7 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 core/__init__.py create mode 100644 core/admin.py create mode 100644 core/apps.py create mode 100644 core/models.py create mode 100644 core/tests.py create mode 100644 core/views.py diff --git a/.gitignore b/.gitignore index 84f03d5..d4c081f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ expephalon/custom_settings.py *.pyc -__pycache__/ \ No newline at end of file +__pycache__/ +migrations/ \ No newline at end of file diff --git a/core/__init__.py b/core/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/admin.py b/core/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/core/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/core/apps.py b/core/apps.py new file mode 100644 index 0000000..26f78a8 --- /dev/null +++ b/core/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class CoreConfig(AppConfig): + name = 'core' diff --git a/core/models.py b/core/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/core/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/core/tests.py b/core/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/core/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/core/views.py b/core/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/core/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.