Commit 42fda413 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

-started

parent 760175eb
# Generated by Django 2.1.7 on 2019-03-06 23:18
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('rainboard', '0030_remove_project_debug'),
]
operations = [
migrations.AlterModelOptions(
name='cibuild',
options={'ordering': ('-started',)},
),
]
......@@ -13,9 +13,9 @@ from django.utils import timezone
from django.utils.dateparse import parse_datetime
from django.utils.safestring import mark_safe
import git
import requests
import git
from autoslug import AutoSlugField
from ndh.models import Links, NamedModel, TimeStampedModel
from ndh.utils import enum_to_choices, query_sum
......@@ -833,7 +833,7 @@ class CIBuild(models.Model):
branch = models.ForeignKey(Branch, on_delete=models.CASCADE)
class Meta:
ordering = ('started', )
ordering = ('-started', )
def url(self):
if self.repo.forge.source == SOURCES.github:
......
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