Базовые модули

This commit is contained in:
2026-03-21 21:40:36 +01:00
parent 6a7e2d8153
commit 7c7060b56d
22 changed files with 55 additions and 2 deletions

0
orders/__init__.py Normal file
View File

3
orders/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
orders/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class OrdersConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'orders'

View File

3
orders/models.py Normal file
View File

@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
orders/tests.py Normal file
View File

@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
orders/views.py Normal file
View File

@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.