Skip to content

Refactor importd code for django version 1.10.2. #85

@ilubnon

Description

@ilubnon

django.conf.urls.patterns was removed from version 1.10.2 django. according to the documentation (https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns).

$ pip install importd
$ python ./hello.py

Traceback (most recent call last):
File "/Users/ilubnon/.pyenv/versions/importd/lib/python3.5/site-packages/importd/urlconf.py", line 7, in
from django.conf.urls import patterns
ImportError: cannot import name 'patterns'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions