diff options
author | luxagraf <sng@luxagraf.net> | 2016-07-12 13:37:22 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-07-12 13:37:22 -0400 |
commit | e2139aeabd564a48598a1142492bcbd08f3f722c (patch) | |
tree | 41243dc1daf0cdaf87f98cb420c3fedbf576c470 /app/notes | |
parent | fdd5ccd0bf899c9cd85aa13882d9bee730fce501 (diff) |
upgraded jrnl admin and fixed some bugs with image uploading iframe.
Also updated pip freeze in requirements.txt
Diffstat (limited to 'app/notes')
-rw-r--r-- | app/notes/admin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/notes/admin.py b/app/notes/admin.py index dcd3576..0135820 100644 --- a/app/notes/admin.py +++ b/app/notes/admin.py @@ -8,14 +8,13 @@ from utils.widgets import LGEntryForm, OLAdminBase class SyndicatedInline(GenericTabularInline): model = SyndicatedItem - extra = 1 + extra = 0 max_num = 1 class LuxNoteAdmin(OLAdminBase): inlines = [ SyndicatedInline, - ] prepopulated_fields = {"slug": ('title',)} list_display = ('slug', 'pub_date', 'location') |