init
This commit is contained in:
0
app/core/__init__.py
Normal file
0
app/core/__init__.py
Normal file
3
app/core/admin.py
Normal file
3
app/core/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
app/core/apps.py
Normal file
6
app/core/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CoreConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'core'
|
||||
0
app/core/migrations/__init__.py
Normal file
0
app/core/migrations/__init__.py
Normal file
3
app/core/models.py
Normal file
3
app/core/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
2
app/core/templates/core/index.html
Normal file
2
app/core/templates/core/index.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{% extends "core/layout.html" %}
|
||||
|
||||
0
app/core/templates/core/layout.html
Normal file
0
app/core/templates/core/layout.html
Normal file
3
app/core/tests.py
Normal file
3
app/core/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
5
app/core/urls.py
Normal file
5
app/core/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.urls import path
|
||||
|
||||
urlspatterns = [
|
||||
|
||||
]
|
||||
5
app/core/views.py
Normal file
5
app/core/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
|
||||
class IndexView(TemplateView):
|
||||
template_name = "core/index.html"
|
||||
Reference in New Issue
Block a user