caldav fusion #7

Merged
brocasm merged 4 commits from caldav into master 2023-10-11 10:41:40 +00:00
7 changed files with 30 additions and 0 deletions
Showing only changes of commit 28042c851a - Show all commits

0
comm_op/__init__.py Normal file
View File

3
comm_op/admin.py Normal file
View File

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

6
comm_op/apps.py Normal file
View File

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

14
comm_op/models.py Normal file
View File

@@ -0,0 +1,14 @@
from django.db import models
# Create your models here.
class cr_Category(models.Model):
sName = models.CharField("Désignation", max_length=250)
dtUpdated = models.DateTimeField('date updated', auto_now=True)
dtCreated = models.DateTimeField('date published', auto_now_add=True)
def __str__(self):
return self.sName
class Meta:
verbose_name = "catégorie"
verbose_name_plural = "catégories"

3
comm_op/tests.py Normal file
View File

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

3
comm_op/views.py Normal file
View File

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