Add document requests app

This commit is contained in:
Keannu Christian Bernasol 2024-11-24 02:20:18 +08:00
parent bb9fcc3d7c
commit ba19412d31
23 changed files with 484 additions and 53 deletions

View file

@ -1,6 +1,7 @@
# Generated by Django 5.1.3 on 2024-11-23 14:13
# Generated by Django 5.1.3 on 2024-11-23 17:01
import django.utils.timezone
import documents.models
from django.db import migrations, models
@ -38,7 +39,11 @@ class Migration(migrations.Migration):
max_length=32,
),
),
("file", models.FileField(upload_to="documents/")),
("number_pages", models.IntegerField()),
(
"file",
models.FileField(upload_to=documents.models.Document.upload_to),
),
(
"date_uploaded",
models.DateTimeField(