mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-04-28 02:31:23 +08:00
Add document requests app
This commit is contained in:
parent
bb9fcc3d7c
commit
ba19412d31
23 changed files with 484 additions and 53 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue