Browse Source

Add sentence in membership application form to clarify notice period

and membership fee (possibly required due to legal change).
Eva Bolten 2 years ago
parent
commit
236eae266f

+ 9
- 1
README.rst View File

@@ -82,7 +82,7 @@ Creating an initial database:
82 82
 
83 83
    $ env/bin/initialize_c3sMembership_db development.ini
84 84
 
85
-
85
+   
86 86
 
87 87
 Run (in development mode)
88 88
 -------------------------
@@ -95,6 +95,14 @@ The app will rebuild templates and reload code whenever there are changes by
95 95
 using --reload.
96 96
 
97 97
 
98
+Migrate database if database model changed (changed models.py?)
99
+::
100
+$ cp c3sMembership.db c3sMembership.db.$(date "+%Y-%m-%d_%H-%M-%S")
101
+$ env/bin/alembic upgrade head
102
+
103
+see https://yes.c3s.cc/docs/development/changes_branches_releases.html#the-production-branch
104
+
105
+
98 106
 
99 107
 Run (in production mode, daemon mode)
100 108
 -------------------------------------

+ 2
- 2
c3smembership/utils.py View File

@@ -75,9 +75,9 @@ def generate_pdf(appstruct):
75 75
     import os
76 76
     here = os.path.dirname(__file__)
77 77
     declaration_pdf_de = os.path.join(
78
-        here, "../pdftk/C3S-SCE-AFM-v11-20170622-de.pdf")
78
+        here, "../pdftk/C3S-SCE-AFM-v12-20170822-de.pdf")
79 79
     declaration_pdf_en = os.path.join(
80
-        here, "../pdftk/C3S-SCE-AFM-v11-20170622-en.pdf")
80
+        here, "../pdftk/C3S-SCE-AFM-v12-20170822-en.pdf")
81 81
 
82 82
     # check for _LOCALE_, decide which language to use
83 83
     # print(appstruct['_LOCALE_'])

BIN
pdftk/C3S-SCE-AFM-v12-20170822-de.odt View File


BIN
pdftk/C3S-SCE-AFM-v12-20170822-de.pdf View File


BIN
pdftk/C3S-SCE-AFM-v12-20170822-en.odt View File


BIN
pdftk/C3S-SCE-AFM-v12-20170822-en.pdf View File


Loading…
Cancel
Save