-
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.
#66 This is only available to transactions table in projects so far. But it is a general purpose framework that could apply to any status field.
- Loading branch information
Showing
15 changed files
with
3,256 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from django.contrib import admin # noqa | ||
from django.contrib import admin | ||
|
||
# Register your models here. | ||
from indigo.models import Sandbox | ||
|
||
admin.site.register(Sandbox) |
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,45 @@ | ||
# Generated by Django 3.1.5 on 2021-02-10 11:52 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("indigo", "0011_project_data_quality_report_counts_by_priority"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Sandbox", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("public_id", models.CharField(max_length=200, unique=True)), | ||
("title", models.TextField(default="")), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name="fund", | ||
name="data_sandboxes", | ||
field=django.contrib.postgres.fields.jsonb.JSONField(default=dict), | ||
), | ||
migrations.AddField( | ||
model_name="organisation", | ||
name="data_sandboxes", | ||
field=django.contrib.postgres.fields.jsonb.JSONField(default=dict), | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="data_sandboxes", | ||
field=django.contrib.postgres.fields.jsonb.JSONField(default=dict), | ||
), | ||
] |
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.