summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/blog/admin.py2
-rw-r--r--apps/blog/models.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/blog/admin.py b/apps/blog/admin.py
index 37aab8d..d641b5b 100644
--- a/apps/blog/admin.py
+++ b/apps/blog/admin.py
@@ -23,7 +23,7 @@ class EntryAdmin(OSMGeoAdmin):
list_filter = ('pub_date', 'enable_comments', 'status','region','location')
fieldsets = (
('Entry', {'fields': ('title','body_markdown', ('location','region'), 'pub_date', ('status','enable_comments'), 'tags', 'slug'), 'classes': ('show','extrapretty','wide')}),
- ('Pub Location', {'fields': ('point',('thumbnail',),'dek'), 'classes': ('collapse', 'wide')}),
+ ('Pub Location', {'fields': ('point',('thumbnail',),'dek', 'title_keywords'), 'classes': ('collapse', 'wide')}),
)
extra_js = [GMAP.api_url + GMAP.key]
map_template = 'gis/admin/google.html'
diff --git a/apps/blog/models.py b/apps/blog/models.py
index f354bab..5093f5b 100644
--- a/apps/blog/models.py
+++ b/apps/blog/models.py
@@ -54,6 +54,7 @@ class Entry(models.Model):
status = models.IntegerField(choices=PUB_STATUS, default=0)
photo_gallery = models.ForeignKey(PhotoGallery, blank=True, null=True, verbose_name='photo set')
thumbnail = models.FileField(upload_to=get_upload_path, null=True,blank=True)
+ title_keywords = models.CharField(max_length=200)
class Meta:
ordering = ('-pub_date',)