From 2e4a3dfc8b45ae6dc72aa85510ce920dbafe54ad Mon Sep 17 00:00:00 2001 From: akhilbatra898 Date: Thu, 13 Jul 2017 08:04:17 +0530 Subject: Define Database models - Add dbfile to gitignore - Add models Repo and Task - Register models for Django Admin Change-Id: I46f23b0cb4deba2efc874cceb93251010ebb2860 Signed-off-by: akhilbatra898 --- qtip/web/bench/admin.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'qtip/web/bench/admin.py') diff --git a/qtip/web/bench/admin.py b/qtip/web/bench/admin.py index a3846a1b..1e678ad5 100644 --- a/qtip/web/bench/admin.py +++ b/qtip/web/bench/admin.py @@ -1,6 +1,22 @@ +############################################################################## +# Copyright (c) 2017 akhil.batra@research.iiit.ac.in and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # -*- coding: utf-8 -*- + from __future__ import unicode_literals -# from django.contrib import admin +from django.contrib import admin + +import models # Register your models here. + + +admin.site.register(models.Repo) +admin.site.register(models.Task) -- cgit 1.2.3-korg