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
e65cfd55
Commit
e65cfd55
authored
Jan 30, 2025
by
Yvon Kerdoncuff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restablish apparently useless imports but actually useful (redirect method not found otherwise)
parent
c40d68e8
Pipeline
#4103
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
views.py
website/views.py
+6
-0
No files found.
website/views.py
View file @
e65cfd55
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""Public access (need identification for data access)."""
"""Public access (need identification for data access)."""
from
outils.common_imports
import
*
from
outils.for_view_imports
import
*
from
outils.images_imports
import
*
from
outils.images_imports
import
*
from
members.models
import
CagetteMember
from
members.models
import
CagetteMember
from
shifts.models
import
CagetteShift
from
django.contrib.auth.hashers
import
check_password
,
make_password
def
_get_response_according_credentials
(
request
,
credentials
,
context
,
template
):
def
_get_response_according_credentials
(
request
,
credentials
,
context
,
template
):
response
=
HttpResponse
(
template
.
render
(
context
,
request
))
response
=
HttpResponse
(
template
.
render
(
context
,
request
))
...
...
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