Skip to content

Commit

Permalink
additional adaptions
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Sep 10, 2016
1 parent ac1fb28 commit ea5d7d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ need to manually configure this feature:
* run ``pip install django-select2>=4.3,<5.0``
* add ``django_select2`` to your ``INSTALLED_APPS``
* add ``url(r'^select2/', include('django_select2.urls')),`` to your ``urls.py``
* set ``DJANGOCMS_ENABLE_SELECT2 = True`` in your ``settings.py``
* set ``DJANGOCMS_LINK_SELECT2 = True`` in your ``settings.py``


Running Tests
Expand Down
4 changes: 2 additions & 2 deletions djangocms_link/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

ENABLE_SELECT2 = getattr(
settings,
'DJANGOCMS_ENABLE_SELECT2',
True
'DJANGOCMS_LINK_SELECT2',
False
)


Expand Down
2 changes: 1 addition & 1 deletion djangocms_link/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AbstractLink(CMSPlugin):
max_length=255,
)
name = models.CharField(
verbose_name=_('Name'),
verbose_name=_('Display name'),
blank=True,
max_length=255,
)
Expand Down

0 comments on commit ea5d7d7

Please sign in to comment.