mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-04-19 18:51:06 +00:00
Update fields.py
This commit is contained in:
parent
430866abfa
commit
e5955f780b
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ SPLIT_MARKER = getattr(settings, 'SPLIT_MARKER', '<!-- split -->')
|
|||
SPLIT_DEFAULT_PARAGRAPHS = getattr(settings, 'SPLIT_DEFAULT_PARAGRAPHS', 2)
|
||||
|
||||
|
||||
def _excerpt_field_name(name): return '_%s_excerpt' % name
|
||||
_excerpt_field_name = lambda name: '_%s_excerpt' % name
|
||||
|
||||
|
||||
def get_excerpt(content):
|
||||
|
|
|
|||
Loading…
Reference in a new issue