Permalink
Browse files

Renamed custom User model to MyUser.

Now things work.
  • Loading branch information...
1 parent ab23eef commit 88f034fd35281beecf77db427845eff4da3e1ce9 @rca rca committed Jan 12, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 customuser/settings.py
  2. +1 −1 someapp/models.py
View
@@ -3,7 +3,7 @@
DEBUG = True
TEMPLATE_DEBUG = DEBUG
-AUTH_USER_MODULE = 'someapp.User'
+AUTH_USER_MODULE = 'someapp.MyUser'
ADMINS = (
# ('Your Name', 'your_email@example.com'),
View
@@ -1,5 +1,5 @@
from django.contrib.auth.models import AbstractUser
from django.db import models
-class User(AbstractUser):
+class MyUser(AbstractUser):
nickname = models.CharField(max_length=32)

0 comments on commit 88f034f

Please sign in to comment.