Commit a6e27df2 authored by Michal Čihař's avatar Michal Čihař

Create model for project

parent 22bdbdaf
from django.db import models from django.db import models
# Create your models here. # Create your models here.
class Project(models.Model):
name = models.CharField(max_length = 100)
slug = models.SlugField(db_index = True)
web = models.URLField()
mail = models.EmailField()
instructions = models.URLField()
gitrepo = models.CharField(max_length = 200)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment