MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / Link

Class Link

hackernews/backend-python/links/models.py:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5# Create your models here.
6class Link(models.Model):
7 url = models.URLField()
8 description = models.TextField(blank=True)
9 posted_by = models.ForeignKey(settings.AUTH_USER_MODEL,
10 null=True,
11 on_delete=models.CASCADE)
12
13
14class Vote(models.Model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected