-
Notifications
You must be signed in to change notification settings - Fork 7
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 #134 from maykinmedia/feature/filter-on-date
specify record to display for objects
- Loading branch information
Showing
15 changed files
with
504 additions
and
249 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 2.2.12 on 2021-01-11 15:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0015_objectrecord_geometry"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="objectrecord", old_name="end_date", new_name="end_at" | ||
), | ||
migrations.RenameField( | ||
model_name="objectrecord", | ||
old_name="registration_date", | ||
new_name="registration_at", | ||
), | ||
migrations.RenameField( | ||
model_name="objectrecord", | ||
old_name="start_date", | ||
new_name="start_at", | ||
), | ||
] |
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,54 @@ | ||
# Generated by Django 2.2.12 on 2021-01-11 15:53 | ||
|
||
import datetime | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0016_auto_20210111_1649"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="objectrecord", | ||
name="correct", | ||
field=models.OneToOneField( | ||
blank=True, | ||
help_text="Object record which corrects the current record", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="corrected", | ||
to="core.ObjectRecord", | ||
verbose_name="correction for", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="objectrecord", | ||
name="end_at", | ||
field=models.DateField( | ||
help_text="Legal end date of the object record", | ||
null=True, | ||
verbose_name="end at", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="objectrecord", | ||
name="registration_at", | ||
field=models.DateField( | ||
default=datetime.date.today, | ||
help_text="The date when the record was registered in the system", | ||
verbose_name="registration at", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="objectrecord", | ||
name="start_at", | ||
field=models.DateField( | ||
help_text="Legal start date of the object record", | ||
verbose_name="start at", | ||
), | ||
), | ||
] |
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.