Skip to content

Commit 2ba4928

Browse files
committed
populate
1 parent 493b0a8 commit 2ba4928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/django_oapif_tests/tests/management/commands/populate_data.py

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
Line_2056_10fields_local_geom,
1212
NoGeom_10fields,
1313
NoGeom_100fields,
14+
Non_Null_Field_With_Default,
1415
Point_2056_10fields,
1516
Point_2056_10fields_local_geom,
1617
SecretLayer,
@@ -26,6 +27,8 @@ def add_arguments(self, parser):
2627
@transaction.atomic
2728
def handle(self, *args, **options):
2829
"""Populate db with testdata"""
30+
Non_Null_Field_With_Default.objects.Create()
31+
2932
size = options["size"]
3033
x_start = 2508500
3134
y_start = 1152000

0 commit comments

Comments
 (0)