added django app dbmodels

This commit is contained in:
Alexander Schulz
2024-09-02 01:08:48 +02:00
parent 69c723d20d
commit f531f92b48
7 changed files with 18 additions and 0 deletions

0
products/__init__.py Normal file
View File

3
products/admin.py Normal file
View File

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

6
products/apps.py Normal file
View File

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

View File

3
products/models.py Normal file
View File

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

3
products/tests.py Normal file
View File

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

3
products/views.py Normal file
View File

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