Skip to content
Snippets Groups Projects
Commit 822d3142 authored by Brian Moe's avatar Brian Moe
Browse files

Added admin.py. Registers gracedb models with admin app.

parent d5df8371
No related branches found
No related tags found
No related merge requests found
#from gracedb.gracedb.models import Analysis, Group, User
from models import Event, EventLog, User
from django.contrib import admin
#class AnalysisAdmin(admin.ModelAdmin):
# list_display = ['uid', 'group', 'analysisType', 'description', 'owner']
#admin.site.register(Analysis, AnalysisAdmin)
admin.site.register(Event)
admin.site.register(EventLog)
admin.site.register(User)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment