Install new Django apps

This commit is contained in:
sosokker 2023-11-18 16:21:44 +07:00
parent a01040ebbc
commit 5a95ef6143
23 changed files with 57 additions and 0 deletions

View File

@ -34,6 +34,9 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'inventory',
'transaction',
'user',
] ]
MIDDLEWARE = [ MIDDLEWARE = [

0
inventory/__init__.py Normal file
View File

3
inventory/admin.py Normal file
View File

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

6
inventory/apps.py Normal file
View File

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

View File

3
inventory/models.py Normal file
View File

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

3
inventory/tests.py Normal file
View File

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

3
inventory/views.py Normal file
View File

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

0
sample.env Normal file
View File

0
transaction/__init__.py Normal file
View File

3
transaction/admin.py Normal file
View File

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

6
transaction/apps.py Normal file
View File

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

View File

3
transaction/models.py Normal file
View File

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

3
transaction/tests.py Normal file
View File

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

3
transaction/views.py Normal file
View File

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

0
user/__init__.py Normal file
View File

3
user/admin.py Normal file
View File

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

6
user/apps.py Normal file
View File

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

View File

3
user/models.py Normal file
View File

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

3
user/tests.py Normal file
View File

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

3
user/views.py Normal file
View File

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