TEMPLATE Ready

This commit is contained in:
2026-09-06 00:02:20 +03:00
parent 6842471664
commit 7ec112134a
16 changed files with 263 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class CoreConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.core'
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Define models here.
@@ -0,0 +1,7 @@
{% extends 'Baselayout.html' %}
{% block title %}Home{% endblock %}
{% block content %}
Welcome to your Django project.
{% endblock %}
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Write tests here.
+8
View File
@@ -0,0 +1,8 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.IndexView.as_view(), name='index'),
]
+5
View File
@@ -0,0 +1,5 @@
from django.views.generic import TemplateView
class IndexView(TemplateView):
template_name = 'apps/core/index.html'