mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Merge branch 'feature/uuid_model' of github.com:marfyl/django-model-utils into feature/uuid_model
This commit is contained in:
commit
0d4facbb53
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,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