From 5f025c4948fe472e3c8a78b9d10e38c7bc7679ce Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 8 Oct 2011 10:18:07 +0200 Subject: [PATCH] need to load config early --- pandora/monkey_patch/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora/monkey_patch/models.py b/pandora/monkey_patch/models.py index a39d2a5c..95e08244 100644 --- a/pandora/monkey_patch/models.py +++ b/pandora/monkey_patch/models.py @@ -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():