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

django.conf.urls.defaults fix for django 1.6+ #18

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

TechNickAI
Copy link

The location of django django.conf.urls.defaults was changed to
django.conf.urls in django 1.4
https://docs.djangoproject.com/en/1.4/releases/1.4/#django-conf-urls-defaults

This code allows both to work

geerk and others added 6 commits September 7, 2012 14:06
The location of django django.conf.urls.defaults was changed to
django.conf.urls in django 1.4
https://docs.djangoproject.com/en/1.4/releases/1.4/#django-conf-urls-defaults

This code allows both to work
/faq/managers.py:16: PendingDeprecationWarning: `QuestionManager.get_query_set` is deprecated, use `get_queryset` instead.
Fix other reference to get_queryset
Fixes deprecation warning
@bmcharek
Copy link

bmcharek commented Nov 7, 2014

Hi, it seems to me that this issue hasn't been fixed in the latest release. After the install I get the following error:
File "/home/bmcharek/sanoma/slam-website/src/src/django-faq/faq/urls.py" in

  1. from django.conf.urls.defaults import *
    Should I use a specific tag upon install?
    cheers

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.

3 participants