#25066: Generated code contains deprecated function,
`django.conf.urls.patterns()`
--------------------------------+--------------------------------------
Reporter: lym | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: generated code | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Comment (by lym):
Below is the sequence of commands I ran and it still happens for me, after
installing the latest django with pip v7:
$ mkdir issue_tester
$ cd issue_tester/
$ virtualenv -p /usr/bin/python
$ .env/bin/pip3 install --upgrade pip
$ .env/bin/pip3 install django
$ vim .env/lib/python3.4/site-packages/django/__init__.py # to confirm
django is 1.8.2
$ django-admin startproject issue_tester .
$ vim issue_tester/urls.py # the contents of this file are in the
attached file. You'll notice patterns() is imported and invoked
Am I just doing something wrong?
--
Ticket URL: <https://code.djangoproject.com/ticket/25066#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.fe293afd9d960743aca25cf0fd38cfc1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.