-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from gitnnolabs/optimize_raw_data
Melhora a geração dos indicadores otimizando a criação do arquivo com os dados brutos.
- Loading branch information
Showing
14 changed files
with
393 additions
and
166 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
article/migrations/0027_article_created_article_creator_article_updated_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,60 @@ | ||
# Generated by Django 4.1.6 on 2023-11-24 15:09 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
("article", "0026_article_concepts_article_programs"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="article", | ||
name="created", | ||
field=models.DateTimeField( | ||
auto_now_add=True, | ||
default=django.utils.timezone.now, | ||
verbose_name="Data de criação", | ||
), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="article", | ||
name="creator", | ||
field=models.ForeignKey( | ||
default=None, | ||
editable=False, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(class)s_creator", | ||
to=settings.AUTH_USER_MODEL, | ||
verbose_name="Criador", | ||
), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="article", | ||
name="updated", | ||
field=models.DateTimeField( | ||
auto_now=True, verbose_name="Data da última atualização" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="article", | ||
name="updated_by", | ||
field=models.ForeignKey( | ||
blank=True, | ||
editable=False, | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(class)s_last_mod_user", | ||
to=settings.AUTH_USER_MODEL, | ||
verbose_name="Atualizador", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.