Fix lost import

Return lost import for 
raise forms.ValidationError(self.error_messages['duplicate_username'])
This commit is contained in:
zcho 2015-01-04 13:59:38 +03:00
parent 67eeeeab6c
commit a3ceb4c9f5

View File

@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
from django import forms
from django.contrib import admin
from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from django.contrib.auth.admin import UserAdmin as AuthUserAdmin