1. dado
  2. Untitled project
  3. django-diario

Commits

Thiago Rodrigues  committed c1aa21b

added imgs to admin

  • Participants
  • Parent commits 1e8acf5
  • Branches default
  • Tags 0.5

Comments (0)

Files changed (1)

File diario/admin.py

View file
     date_hierarchy = 'pub_date'
     fieldsets = (
         (None, {
-            'fields': ['title', 'slug', 'pub_date', 'body_source'] + TAG_FIELD + CATEGORY_FIELD
+            'fields': ['title', 'slug', 'pub_date', 'body_source', 'main_image', 'thumb_image'] + TAG_FIELD + CATEGORY_FIELD
         }),
         (_('Status'), {
             'fields': ('is_draft', 'publish_on')