need to load config early

This commit is contained in:
j 2011-10-08 10:18:07 +02:00
parent 551be76c8b
commit 5f025c4948

View file

@ -1,6 +1,10 @@
from django.contrib.auth.models import User
from django.core.validators import MaxLengthValidator
#load config from json
import app.models
app.models.load_config()
NEW_USERNAME_LENGTH = 255
def monkey_patch_username():