basic infra

This commit is contained in:
Rachid Mrad 2024-07-15 18:40:24 -04:00
parent b331f61d0d
commit b1ae220602
No known key found for this signature in database
7 changed files with 244 additions and 6 deletions

View file

@ -23,7 +23,7 @@ class Portfolio(TimeStampedModel):
# Stores who created this model. If no creator is specified in DJA,
# then the creator will default to the current request user"""
creator = models.ForeignKey("registrar.User", on_delete=models.PROTECT, help_text="Associated user", unique=False)
creator = models.ForeignKey("registrar.User", on_delete=models.PROTECT, help_text="Associated user", related_name="creator", unique=False)
notes = models.TextField(
null=True,