add new app
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-06-22 10:28:56 +01:00
parent 956e7fc1d0
commit 5d26a4dd05
10 changed files with 73 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
from django.contrib import admin
from import_export.admin import ImportExportModelAdmin
from .models import JobData
# Register your models here.
@admin.register(JobData)
class EpisodeAdmin(ImportExportModelAdmin):
list_display = ('name',)
fields = ['name']
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class JobDashboardConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.job_dashboard'
label = 'job'
@@ -0,0 +1,24 @@
# Generated by Django 4.2.30 on 2026-06-22 08:59
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='JobData',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=1000)),
],
options={
'db_table': 'job',
},
),
]
+8
View File
@@ -0,0 +1,8 @@
from django.db import models
class JobData(models.Model):
name = models.CharField(max_length=1000)
class Meta:
db_table = 'job'
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+3
View File
@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.