Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocelots-Jennifer and Cindy #10

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open

Ocelots-Jennifer and Cindy #10

wants to merge 38 commits into from

Conversation

ciindii
Copy link

@ciindii ciindii commented Jan 9, 2023

No description provided.

@ciindii ciindii changed the title cindy-ocelots Ocelots-Jennifer and Cindy Jan 9, 2023
title = db.Column(db.String)
release_date = db.Column(db.Date, nullable=True)
total_inventory = db.Column(db.Integer, default=0)
customer = db.relationship("Customer", secondary="rental", backref="video")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job setting up the relationship

rentals_bp = Blueprint("rental_bp", __name__, url_prefix="/rentals")

#--------------------------Helper Functions----------------------------------------------
def validate_model(cls, model_id):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the validation helper functions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants