3 # Copyright (C) 2012 FinalsClub Foundation
4 """ Administration configuration for notes """
6 from django.contrib import admin
8 from karmaworld.apps.notes.models import DriveAuth
9 from karmaworld.apps.notes.models import Note
11 class NoteAdmin(admin.ModelAdmin):
12 """ an Admin handler for the Note model that handles autocomplete to Course
14 raw_id_fields = ('course',)
15 autocomplete_lookup_fields = {
19 admin.site.register(DriveAuth)
20 admin.site.register(Note, NoteAdmin)