diff options
Diffstat (limited to 'apps/blog')
-rw-r--r-- | apps/blog/admin.py | 2 | ||||
-rw-r--r-- | apps/blog/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/blog/admin.py b/apps/blog/admin.py index c5c5c5d..6f1cbb9 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','photo_gallery'), 'classes': ('show','extrapretty','wide')}), - ('Pub Location', {'fields': ('point',('thumbnail',),'dek', 'topics', 'title_keywords'), 'classes': ('collapse', 'wide')}), + ('Pub Location', {'fields': ('point',('thumbnail',),'dek', 'topics', 'meta_description'), 'classes': ('collapse', 'wide')}), ) class Media: diff --git a/apps/blog/models.py b/apps/blog/models.py index bdbcd82..fb0dac6 100644 --- a/apps/blog/models.py +++ b/apps/blog/models.py @@ -66,7 +66,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, null=True, blank=True) + meta_description = models.CharField(max_length=256, null=True, blank=True) topics = models.ManyToManyField(Topic, blank=True) @property |