blob: 877e3622bf9dfd9d69eb164a2e69db0eb9300229 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from django.db import models
class DocumentationLink(models.Model):
"""A documentation link used by the `!docs` command of the bot."""
package = models.CharField(primary_key=True, max_length=50)
base_url = models.URLField()
inventory_url = models.URLField()
class SnakeName(models.Model):
"""A snake name used by the bot's snake cog."""
name = models.CharField(primary_key=True, max_length=100)
scientific = models.CharField(max_length=150)
|