from django.db import models


# Create your models here.
class Gamedoc(models.Model):
    link = models.URLField(max_length=500)
    title = models.CharField(max_length=500)
    repo_name = models.CharField(max_length=512, blank=True, null=True)
    user_name = models.CharField(max_length=512, blank=True, null=True)

    def __str__(self):
        return f'{self.title}'

[((98, 129), 'django.db.models.URLField', 'models.URLField', ([], {'max_length': '(500)'}), '(max_length=500)\n', (113, 129), False, 'from django.db import models\n'), ((142, 174), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(500)'}), '(max_length=500)\n', (158, 174), False, 'from django.db import models\n'), ((191, 246), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(512)', 'blank': '(True)', 'null': '(True)'}), '(max_length=512, blank=True, null=True)\n', (207, 246), False, 'from django.db import models\n'), ((263, 318), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(512)', 'blank': '(True)', 'null': '(True)'}), '(max_length=512, blank=True, null=True)\n', (279, 318), False, 'from django.db import models\n')]