You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
402 B
12 lines
402 B
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from pinax.blog.forms import AdminPostForm as BaseAdminPostForm
|
|
|
|
|
|
class AdminPostForm(BaseAdminPostForm):
|
|
pass
|
|
|
|
|
|
AdminPostForm.declared_fields.get('teaser').label = _('Превью')
|
|
AdminPostForm.declared_fields.get('content').label = _('Содержимое')
|
|
AdminPostForm.declared_fields.get('description').label = _('Описание')
|
|
|