Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patterns are depricated in Django 1.10 #126

Closed
dinya opened this issue Sep 16, 2016 · 2 comments
Closed

patterns are depricated in Django 1.10 #126

dinya opened this issue Sep 16, 2016 · 2 comments

Comments

@dinya
Copy link

dinya commented Sep 16, 2016

urls.py

from django.conf.urls import patterns, url, include

falls with

...
  File "/opt/waliki/.venv/lib/python3.4/site-packages/waliki/urls.py", line 1, in <module>
    from django.conf.urls import patterns, url, include
ImportError: cannot import name 'patterns'

See

from django.conf.urls import patterns, url, include

See also http://stackoverflow.com/a/38799716/716469

@mgaitan
Copy link
Owner

mgaitan commented Sep 21, 2016

thanks for the report. may you send a pull request for this?

On Fri, Sep 16, 2016 at 4:20 AM, Denis Sidorov notifications@github.com
wrote:

urls.py

from django.conf.urls import patterns, url, include

falls with

...
File "/opt/waliki/.venv/lib/python3.4/site-packages/waliki/urls.py", line 1, in
from django.conf.urls import patterns, url, include
ImportError: cannot import name 'patterns'

See https://github.com/mgaitan/waliki/blob/bc3e508cb7315cdf860780be7db128
ee6f413049/waliki/urls.py#L1

See also http://stackoverflow.com/a/38799716/716469


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#126, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPyB1Y7JoaIX6Vo3vaRbz-yCda1NTiZks5qqkNXgaJpZM4J-qJl
.

mgaitan.github.io
textosypretextos.com.ar

@martibosch
Copy link
Contributor

I just sent a pull request with compatible urls for django 1.8, 1.9 and 1.10 #131

@mgaitan mgaitan closed this as completed Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants