Skip to content
Browse files

Python 3 compat

  • Loading branch information...
1 parent 84b006c commit 1d361ad0ea978ed1a31255398d6f83e44e45a23a @koirikivi koirikivi committed Feb 28, 2014
Showing with 4 additions and 4 deletions.
  1. +3 −3 cms/test_utils/project/emailuserapp/admin.py
  2. +1 −1 cms/test_utils/project/emailuserapp/forms.py
View
6 cms/test_utils/project/emailuserapp/admin.py
@@ -4,8 +4,8 @@
from django.utils.translation import ugettext, ugettext_lazy as _
-from models import EmailUser
-from forms import UserChangeForm, UserCreationForm
+from .models import EmailUser
+from .forms import UserChangeForm, UserCreationForm
class UserAdmin(OriginalUserAdmin):
# The form to add and change user instances
@@ -38,4 +38,4 @@ class UserAdmin(OriginalUserAdmin):
# Now register the emailuser admin
-admin.site.register(EmailUser, UserAdmin)
+admin.site.register(EmailUser, UserAdmin)
View
2 cms/test_utils/project/emailuserapp/forms.py
@@ -7,7 +7,7 @@
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.forms import ReadOnlyPasswordHashField
-from models import EmailUser
+from .models import EmailUser
class UserCreationForm(forms.ModelForm):
"""

0 comments on commit 1d361ad

Please sign in to comment.
Something went wrong with that request. Please try again.