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

fixed warning caused by django 1.5 update #5

Merged
merged 1 commit into from
May 2, 2013
Merged

fixed warning caused by django 1.5 update #5

merged 1 commit into from
May 2, 2013

Conversation

bpoetz
Copy link
Contributor

@bpoetz bpoetz commented Mar 2, 2013

I just changed the urls.py file to replace the deprecated

django.conf.urls.defaults 

with

django.conf.urls 

as found in the warning message. Here's the relevant code from ..defaults.py:

import warnings
warnings.warn("django.conf.urls.defaults is deprecated; use django.conf.urls instead",
          DeprecationWarning)

from django.conf.urls import (handler403, handler404, handler500,
    include, patterns, url)

Hopefully this isn't considered too trivial, it's my first pull request, be gentle.

SmileyChris added a commit that referenced this pull request May 2, 2013
fixed warning caused by django 1.5 update
@SmileyChris SmileyChris merged commit 439e65c into lincolnloop:master May 2, 2013
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

Successfully merging this pull request may close these issues.

2 participants