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/figments/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/figments/admin.py')
-rw-r--r-- | app/figments/admin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/figments/admin.py b/app/figments/admin.py index 4c8127b..34452bd 100644 --- a/app/figments/admin.py +++ b/app/figments/admin.py @@ -1,10 +1,10 @@ from django.contrib import admin from .models import Figment, Series -from jrnl.admin import BlogEntryForm +from utils.widgets import LGEntryForm class FigmentAdmin(admin.ModelAdmin): - form = BlogEntryForm + form = LGEntryForm list_display = ('title', 'pub_date', 'get_series') prepopulated_fields = {"slug": ('title',)} fieldsets = ( @@ -38,6 +38,7 @@ class FigmentAdmin(admin.ModelAdmin): ), ) + class SeriesAdmin(admin.ModelAdmin): pass |