Skip to content

Commit

Permalink
refactor: change BoundaryLayer file fields to default_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
jkgeo committed Jan 8, 2025
1 parent 83e1c08 commit d7afa0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glam_api/glam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,14 @@ class BoundaryLayer(models.Model):
)
source_data = models.FileField(
upload_to="boundary-layers",
storage=raster_storage,
storage=default_storage,
blank=True,
null=True,
help_text="Original Boundary Layer raster or vector",
)
vector_file = models.FileField(
upload_to="boundary-layers",
storage=vector_storage,
storage=default_storage,
blank=True,
null=True,
help_text="Vector geometry file for visual representation in the GLAM application",
Expand Down

0 comments on commit d7afa0a

Please sign in to comment.