-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Sublet Amenity Return Formatting (#251)
* Sublet Image Handling * Fix linting whoops * Add list comprehensions + prevalidation to images * Fix misnamed serializer field * Fix test cases * Add separate routes for image creation and deletion * Begin work on sublet testing * Mocked AWS call * Add tests for multiple images + deletion * How did this not fail in previous runs haha * Add sublet negotiable, swap max/min to reg price fields * Fix filtering * Change amenities return formatting + add comments for sublet/urls * Alter baths to be 1-point decimal * Fix testing for decimal baths + add testing for new amenities formatting --------- Co-authored-by: Justin Zhang <[email protected]>
- Loading branch information
1 parent
78dbf2f
commit 7e43efe
Showing
5 changed files
with
42 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.9 on 2024-03-05 21:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("sublet", "0002_auto_20240209_1649"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="sublet", | ||
name="baths", | ||
field=models.DecimalField(blank=True, decimal_places=1, max_digits=3, null=True), | ||
), | ||
] |
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