src/cm/models.py
changeset 515 0be906e586e6
parent 514 f99c7f7401b0
child 518 9172f4c6ad70
--- a/src/cm/models.py	Wed Jun 26 19:25:09 2013 +0200
+++ b/src/cm/models.py	Wed Jun 26 23:43:08 2013 +0200
@@ -417,6 +417,8 @@
     def __unicode__(self):
         return '%s: %s' % (self.key, self.value)    
     
+ApplicationConfiguration = Configuration.objects     
+
 class AttachmentManager(KeyManager):
     def create_attachment(self, text_version, filename, data):
         attach = self.create(text_version=text_version)
@@ -604,8 +606,6 @@
             return user_with_email
         
 
-ApplicationConfiguration = Configuration.objects     
-
 from cm.utils.mail import send_mail
 
 class UserProfile(KeyModel):