WIP: Services #25
Loading…
Reference in a new issue
No description provided.
Delete branch "services"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dette PR handler om at få en måde hvorpå medlemmer kan få adgang til de forskellige services vi udbyder.
ad6564b510
to6e2ed21f67
@ -142,0 +165,4 @@
)
def __str__(self) -> str:
return f"{self.user} - {self.service}"
Just wanna say that I've seen this WRT the Membership and MembershipType definitions. I think this will work fine in combination. I have some ideas etc.. but fundamentally, this doesn't need to change 👍
There will be a new model Product and Order that are relevant for charging services, but we can probably figure out how they are associated with services... I like the idea of matching a service with some well-known string.
@ -142,0 +154,4 @@
),
)
user = models.ForeignKey("auth.User", on_delete=models.PROTECT)
This is correct! 💯
Notable because there is also a Membership model.. however, memberships are renewed every year, and a user should be able to use the same services across different memberships.
How we handle "eligibility to a service" can happen later..
Checkout
From your project repository, check out a new branch and test the changes.