-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new function in download CV button to upload PDF via admin panel
- Loading branch information
Showing
8 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
fredmagaweb/migrations/0005_curriculo_alter_contato_empresa_alter_contato_nome.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 4.2.3 on 2024-08-09 00:48 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('fredmagaweb', '0004_portfolioitem_publicado_alter_portfolioitem_image'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Curriculo', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('arquivo', models.FileField(upload_to='curriculos/')), | ||
('data_upload', models.DateTimeField(auto_now_add=True)), | ||
], | ||
options={ | ||
'verbose_name': 'Currículo', | ||
'verbose_name_plural': 'Currículos', | ||
}, | ||
), | ||
migrations.AlterField( | ||
model_name='contato', | ||
name='empresa', | ||
field=models.CharField(max_length=40), | ||
), | ||
migrations.AlterField( | ||
model_name='contato', | ||
name='nome', | ||
field=models.CharField(max_length=40), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters