Remove users app / Add sample.env sample

This commit is contained in:
sosokker 2023-11-18 16:39:09 +07:00
parent 5a95ef6143
commit 9d3947d3b7
9 changed files with 8 additions and 19 deletions

View File

@ -36,7 +36,6 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'inventory',
'transaction',
'user',
]
MIDDLEWARE = [

View File

@ -0,0 +1,8 @@
SECRET_KEY=your_secret_key
DEBUG=True
ALLOWED_HOSTS=localhost, 127.0.0.1, ::1
DB_NAME=your_DB_NAME
DB_USER=your_DB_USER
DB_PASSWORD=your_DB_PASSWORD
DB_HOST=your_DB_HOST
DB_PORT=your_DB_PORT

View File

View File

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

View File

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

View File

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

View File

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

View File

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