#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
--------------------------------+--------------------------------------
Changes (by bmispelon):
* status: new => closed
* needs_docs: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
Hi,
I can't reproduce the behavior you're describing: when I generate a new
project with Django 1.8.2, the `urls.py` file has no mention of
`patterns()`.
Can you make sure you're using the correct version?
There were some mentions of this function in the comments at the top of
the file but those were fixed in #24635 (and the changes are already part
of Django 1.8.2).
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/25066#comment:1>
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.1397dd2afba3c324aaaaaf8511791f6c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.