Closed maludee closed 6 months ago
Do I need to create the database? I'm not sure how to create a new table in the online database
I found a RentalListings class in the models.Should I Use it.
@qf2050 the data posted by landlords should probably go into the users_rental_listings table, which is where all the listings data is stored right now. not sure about the models, I would post in slack asking the group
I saw users/models.py:80 has been annotated. If I want to implement this feature, it seems like I need to add foreign keys
I am a little confused why the ForeignKey Landlord ID is blocked. so the users_rental_listings has no Landlord ID?
As a landlord, I want to post new listings with detailed descriptions, photos, price, amenities and availability dates to attract potential renters.