initial commit

This commit is contained in:
behruz-dev
2025-08-26 10:12:09 +05:00
commit 8feea731b9
55 changed files with 1066 additions and 0 deletions

View File

View File

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

6
core/apps/common/apps.py Normal file
View File

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

View File

View File

@@ -0,0 +1,11 @@
import uuid
from django.db import models
class BaseModel(models.Model):
id = models.UUIDField(primary_key=True, editable=False, unique=True, db_index=True, default=uuid.uuid4)
created_at = models.DateField(auto_now_add=True)
updated_at = models.DateField(auto_now=True)
class Meta:
abstract = True

View File

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

View File

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