summaryrefslogtreecommitdiff
path: root/app/links/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/links/admin.py')
-rw-r--r--app/links/admin.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/links/admin.py b/app/links/admin.py
index ff75a09..b772d24 100644
--- a/app/links/admin.py
+++ b/app/links/admin.py
@@ -1,10 +1,12 @@
from django.contrib import admin
from utils.widgets import TagListFilter
-from links.models import Link
-
+import autocomplete_light
+from .models import Link
+from .forms import LinkForm
class LinkAdmin(admin.ModelAdmin):
+ form = LinkForm
list_display = ('title', 'admin_link', 'pub_date', 'status')
search_fields = ['title', 'description', 'url']
list_filter = ['status', TagListFilter]