create projects app; move Project model to projects app; recreate migrations because moving the model caused problems o.o

This commit is contained in:
Lexi / Zoe 2019-05-27 15:22:49 +02:00
parent a14ab33927
commit 0013410ac1
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
16 changed files with 108 additions and 25 deletions

View file

@ -1,14 +1,7 @@
from django.db import models
from django.utils import timezone
class Project(models.Model):
project_key = models.CharField(max_length=16, unique=True)
name = models.CharField(max_length=200)
description = models.TextField(blank=True)
def __str__(self):
return self.name
from projects.models import Project
class Issue(models.Model):