chore: module link model (#1905)

* chore: module link model

* chore: added migration
This commit is contained in:
Bavisetti Narayan 2023-08-18 15:50:48 +05:30 committed by GitHub
parent 02ac4cee22
commit 125e9090ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -98,7 +98,7 @@ class ModuleIssue(ProjectBaseModel):
class ModuleLink(ProjectBaseModel):
title = models.CharField(max_length=255, null=True)
title = models.CharField(max_length=255, blank=True, null=True)
url = models.URLField()
module = models.ForeignKey(
Module, on_delete=models.CASCADE, related_name="link_module"