[FIX] Move site URL settings out of constance to allow access for CORS

CORS options require access to these settings, so they must be set before deployment
This commit is contained in:
mg committed 2023-02-01 23:17:24 +00:00
1 parent de11df1999
commit 50f5363b69
4 files changed
+59 -7

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ class User(AbstractUser):
context = {
'user': self,
'config': config,
'settings': settings,
}
logger.info('Sending welcome mail to user \'%s\'', self.username)