Source

django-feature-request / feature_request / models.py

Full commit
from django.db import models
from django.contrib.auth.models import User

class FeatureRequestManager(models.Manager):
    def get_features(self):
        return self.all().order_by("is_complete")
    
class FeatureRequest(models.Model):
    member = models.ForeignKey(User)
    create_date = models.DateTimeField(auto_now_add=True)
    last_update = models.DateTimeField(auto_now=True)
    request = models.TextField(max_length=5000,blank=True)
    is_complete = models.BooleanField()
    complete_date = models.DateField(blank=True)
    complete_comments = models.TextField(max_length=100,blank=True)
    objects = FeatureRequestManager()