]> git.parisson.com Git - teleforma.git/commitdiff
fix student import, fix dev env
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 17 Nov 2021 13:10:19 +0000 (14:10 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 17 Nov 2021 13:10:19 +0000 (14:10 +0100)
bin
env/debug.env
env/dev.env
env/dev.yml
teleforma/views/crfpa.py

diff --git a/bin b/bin
index c5d2023de2f038cb865a148076a4dc4ec24efaf7..52d01bc8d0ec34d96ae3751fa5709a8ae05066fd 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit c5d2023de2f038cb865a148076a4dc4ec24efaf7
+Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd
index d8cb7653b02b0095fd4413dcc721ebe8bfc62055..93fb2bb515645b2ef97a62aa33b112c8e02f7ca8 100644 (file)
@@ -2,6 +2,9 @@ DEBUG=True
 
 DB_PORT=5432
 DB_HOST=db
+POSTGRES_HOST=db
 POSTGRES_PASSWORD=mysecretpassword
 POSTGRES_DATABASE=teleforma
+POSTGRES_DB=teleforma
 POSTGRES_USER=teleforma
+POSTGRES_HOST_AUTH_METHOD=trust
index 147ae0a0e73834cffddfa03e56e4f9a106248b07..93fb2bb515645b2ef97a62aa33b112c8e02f7ca8 100644 (file)
@@ -1 +1,10 @@
 DEBUG=True
+
+DB_PORT=5432
+DB_HOST=db
+POSTGRES_HOST=db
+POSTGRES_PASSWORD=mysecretpassword
+POSTGRES_DATABASE=teleforma
+POSTGRES_DB=teleforma
+POSTGRES_USER=teleforma
+POSTGRES_HOST_AUTH_METHOD=trust
index 91a0b13526170ca8db71e2c4dc412e3a3563a84d..fc5d834342089bc58d56430982775c83d06bc604 100644 (file)
@@ -22,7 +22,7 @@ version: '3'
 
 services:
   app:
-      command: /bin/sh bin/app.sh --runserver
+      command: /bin/sh /srv/app/wsgi.sh --runserver
       env_file:
         - 'env/debug.env'
       ports:
index b1e11e02db8f76a2a59b171f31d729cef61071b9..e258cd1ddc84162c9ff2faf5d2e57ebbe6df0afc 100644 (file)
@@ -461,6 +461,7 @@ class UserXLSBook(object):
             profile = Profile(user=user)
             profile.save()
             student = Student(user=user)
+            student.platform_only = False
             student.save()
 
         profiles = Profile.objects.filter(user=user)