-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vote): add updated and created fields and ordering suffle queryse…
…t to candidature list
- Loading branch information
1 parent
171d7b7
commit 1608410
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
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
40 changes: 40 additions & 0 deletions
40
.../candidature/migrations/0016_alter_candidature_options_candidature_created_at_and_more.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,40 @@ | ||
# Generated by Django 4.2 on 2024-09-02 21:56 | ||
|
||
from django.db import migrations, models | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('candidature', '0015_alter_candidature_appointments_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='candidature', | ||
options={'ordering': ['?'], 'verbose_name': 'Candidatura'}, | ||
), | ||
migrations.AddField( | ||
model_name='candidature', | ||
name='created_at', | ||
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='Criado em'), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='candidature', | ||
name='updated_at', | ||
field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'), | ||
), | ||
migrations.AddField( | ||
model_name='candidatureflow', | ||
name='created_at', | ||
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='Criado em'), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='candidatureflow', | ||
name='updated_at', | ||
field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'), | ||
), | ||
] |
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