Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save taufiqibrahim/5a2db353f1a81ba87dfc4924d8131b85 to your computer and use it in GitHub Desktop.
Save taufiqibrahim/5a2db353f1a81ba87dfc4924d8131b85 to your computer and use it in GitHub Desktop.
from django.db import models
class Container(models.Model):
container_host = models.URLField()
container_port = models.PositiveIntegerField()
container_default_message = models.CharField(
max_length=255
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment