summaryrefslogtreecommitdiff
path: root/apps/blog
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-12 03:42:13 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-12 03:42:13 +0000
commitef35853e54e1572dc1de4fd2311d00dfd16e4f75 (patch)
treefe712fa6a1a2c38761e0458bf1684274a510df32 /apps/blog
parent0882d73ca1ba4c84ce24c946548c80d9e4d1c04e (diff)
added projects
Diffstat (limited to 'apps/blog')
-rw-r--r--apps/blog/admin.py2
-rw-r--r--apps/blog/models.py2
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