parent
aafc478a29
commit
eea0aca07c
@ -1,3 +1,16 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from . import models
|
||||
|
||||
# Register your models here.
|
||||
@admin.register(models.BCCEmail)
|
||||
class BCCEmailAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
|
||||
@admin.register(models.CCEmail)
|
||||
class CCEmailAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
|
||||
@admin.register(models.PDF)
|
||||
class PDFAdmin(admin.ModelAdmin):
|
||||
list_display = ['address', 'upload_date']
|
@ -0,0 +1,35 @@
|
||||
# Generated by Django 3.1.4 on 2020-12-04 21:07
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('download', '0012_auto_20201109_2106'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='BCCEmail',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('email', models.CharField(max_length=64)),
|
||||
('active', models.BooleanField(default=False)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='CCEmail',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('email', models.CharField(max_length=64)),
|
||||
('active', models.BooleanField(default=False)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
),
|
||||
]
|
Loading…
Reference in new issue