This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
from django.db import models
|
||||
|
||||
class JobData(models.Model):
|
||||
name = models.CharField(max_length=1000)
|
||||
|
||||
class Meta:
|
||||
db_table = 'job'
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user