Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
2d0e8efd
Commit
2d0e8efd
authored
Dec 20, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default settings attributes for members_space
parent
71466100
Pipeline
#2558
failed with stage
in 1 minute 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
views.py
members_space/views.py
+6
-6
No files found.
members_space/views.py
View file @
2d0e8efd
...
...
@@ -61,12 +61,12 @@ def index(request, exception=None):
"""Signaler ici une anomalie du formulaire,
un problème lié à votre souscription"""
,
'referer'
:
referer
,
'mag_place_string'
:
settings
.
MAG_NAME
,
'office_place_string'
:
settings
.
OFFICE_NAME
,
'max_begin_hour'
:
settings
.
MAX_BEGIN_HOUR
,
'payment_meanings'
:
settings
.
SUBSCRIPTION_PAYMENT_MEANINGS
,
'em_url'
:
settings
.
EM_URL
,
'WELCOME_ENTRANCE_MSG'
:
settings
.
WELCOME_ENTRANCE_MSG
,
'mag_place_string'
:
getattr
(
settings
,
'MAG_NAME'
,
''
)
,
'office_place_string'
:
getattr
(
settings
,
'OFFICE_NAME'
,
''
)
,
'max_begin_hour'
:
getattr
(
settings
,
'MAX_BEGIN_HOUR'
,
''
)
,
'payment_meanings'
:
getattr
(
settings
,
'SUBSCRIPTION_PAYMENT_MEANINGS'
,
'em_url'
:
getattr
(
settings
,
'EM_URL'
,
''
)
,
'WELCOME_ENTRANCE_MSG'
:
getattr
(
settings
,
'WELCOME_ENTRANCE_MSG'
,
''
)
,
'WELCOME_SUBTITLE_ENTRANCE_MSG'
:
getattr
(
settings
,
'WELCOME_SUBTITLE_ENTRANCE_MSG'
,
''
)}
if
hasattr
(
settings
,
'SUBSCRIPTION_ASK_FOR_SEX'
):
context
[
'ask_for_sex'
]
=
settings
.
SUBSCRIPTION_ASK_FOR_SEX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment