Skip to content

Commit

Permalink
Fix imports for Python 3 (still works for older versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellrj committed Feb 13, 2015
1 parent f88bb20 commit f76f62c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions rulez/backends.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import inspect

from exceptions import NotBooleanPermission
from exceptions import NonexistentFieldName
from rulez.exceptions import NotBooleanPermission
from rulez.exceptions import NonexistentFieldName

from rulez import registry

Expand Down
2 changes: 1 addition & 1 deletion rulez/models.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
import rolez.signals
import rulez.rolez.signals
10 changes: 5 additions & 5 deletions rulez/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from roles_helpers import *
from registry import *
from backend import *
from signals import *
from templatetags import *
from rulez.tests.roles_helpers import *
from rulez.tests.registry import *
from rulez.tests.backend import *
from rulez.tests.signals import *
from rulez.tests.templatetags import *
2 changes: 1 addition & 1 deletion tests/testapp/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.conf.urls.defaults import patterns, include, url
from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
Expand Down

0 comments on commit f76f62c

Please sign in to comment.