Skip to content

Commit

Permalink
handle django < 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
notyoyoma committed May 5, 2017
1 parent e7f95ab commit 5c18eb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmsplugin_remote_form/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
from django.core.mail import EmailMultiAlternatives
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from django.urls import reverse
try:
from django.urls import reverse
except ImportError:
# handle Django < 1.10
from django.core.urlresolvers import reverse
from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool

Expand Down

0 comments on commit 5c18eb7

Please sign in to comment.