From 7401b8a87ce90c91e62063dfb4cb87530c4bcec3 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 7 Oct 2021 16:36:19 +0200 Subject: [PATCH] Add blank environment app --- TODO.md | 6 +++++- environment/__init__.py | 0 environment/admin.py | 3 +++ environment/apps.py | 6 ++++++ environment/models.py | 3 +++ environment/tests.py | 3 +++ environment/views.py | 3 +++ 7 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 environment/__init__.py create mode 100644 environment/admin.py create mode 100644 environment/apps.py create mode 100644 environment/models.py create mode 100644 environment/tests.py create mode 100644 environment/views.py diff --git a/TODO.md b/TODO.md index f089d33..2b20f8f 100644 --- a/TODO.md +++ b/TODO.md @@ -48,4 +48,8 @@ [_] Sidebar auto-generation (?) [_] Fix sidebar highlighting for pages with same name [_] Move dashboard components to module templates -[_] Fix buttons on mobile devices \ No newline at end of file +[_] Fix buttons on mobile devices + +## environment module + +[_] CO2 accounting \ No newline at end of file diff --git a/environment/__init__.py b/environment/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/environment/admin.py b/environment/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/environment/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/environment/apps.py b/environment/apps.py new file mode 100644 index 0000000..e807163 --- /dev/null +++ b/environment/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class EnvironmentConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'environment' diff --git a/environment/models.py b/environment/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/environment/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/environment/tests.py b/environment/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/environment/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/environment/views.py b/environment/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/environment/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.