ImportError: cannot import name pattern Django
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
Undecided
|
yapeng Yang |
Bug Description
2017-08-09 09:29:29.998463 __import__(name)
2017-08-09 09:29:29.998465 File "/opt/yyp/
38, in <module>
2017-08-09 09:29:29.998466 url(r'', include(
2017-08-09 09:29:29.998468 File "/usr/lib/
ne 51, in include
2017-08-09 09:29:29.998469 if isinstance(
2017-08-09 09:29:29.998471 File "/usr/lib/
234, in inner
2017-08-09 09:29:29.998472 self._setup()
2017-08-09 09:29:29.998474 File "/usr/lib/
380, in _setup
2017-08-09 09:29:29.998476
2017-08-09 09:29:29.998477 File "/opt/yyp/
_patterns
2017-08-09 09:29:29.998478 return self._urls()[0]
2017-08-09 09:29:29.998480 File "/opt/yyp/
ls
2017-08-09 09:29:29.998482 include(
2017-08-09 09:29:29.998483 File "/opt/yyp/
corated_urls
2017-08-09 09:29:29.998485 urlpatterns = self._get_
2017-08-09 09:29:29.998486 File "/opt/yyp/
t_default_
2017-08-09 09:29:29.998488 urls_mod = import_
2017-08-09 09:29:29.998489 File "/usr/lib64/
dule
2017-08-09 09:29:29.998491 __import__(name)
2017-08-09 09:29:29.998492 File "/opt/yyp/
line 16, in <module>
2017-08-09 09:29:29.998494 from django.conf.urls import patterns
2017-08-09 09:29:29.998495 ImportError: cannot import name patterns
patterns () from Django1.8 has been abandoned, Django1.10 remove it, so reported into the pattern error.
Changed in freezer: | |
assignee: | nobody → yapeng Yang (yang-yapeng) |
Fix proposed to branch: master /review. openstack. org/492361
Review: https:/