diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-11 21:54:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-11 21:54:21 -0500 |
commit | 92abffcc98404825324341d5ee654642364890bb (patch) | |
tree | aa39b2c4d85e89b452c8c72aef9803da1adeac9c /app/src/admin.py | |
parent | b588a5587c1f9a809509b77b11f4827c6c28f951 (diff) |
redo figments to work with CBV, new builder, etc. Also broke out admin
textfield widget to utils
Diffstat (limited to 'app/src/admin.py')
-rw-r--r-- | app/src/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/admin.py b/app/src/admin.py index 31c0255..cd6ba1d 100644 --- a/app/src/admin.py +++ b/app/src/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin from .models import Topic, Entry, Book -from jrnl.admin import BlogEntryForm +from utils.widgets import LGEntryForm class TopicAdmin(admin.ModelAdmin): @@ -32,7 +32,7 @@ class BookAdmin(admin.ModelAdmin): class EntryAdmin(admin.ModelAdmin): - form = BlogEntryForm + form = LGEntryForm list_display = ('title', 'pub_date', 'enable_comments', 'status') list_filter = ('pub_date', 'enable_comments', 'status') prepopulated_fields = {"slug": ('title',)} |