Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
1c553535
Commit
1c553535
authored
15 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
tweak for new election short name uniqueness
parent
6396fa9c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
helios
+1
-1
1 addition, 1 deletion
helios
iacr/views.py
+1
-4
1 addition, 4 deletions
iacr/views.py
with
2 additions
and
5 deletions
helios
@
2005360e
Compare
be4c4cc1
...
2005360e
Subproject commit
be4c4cc1ee7ef4230ae46a0ef09d785bb31719e9
Subproject commit
2005360e877a2e6a7e2d4580d9afcc981015ff04
This diff is collapsed.
Click to expand it.
iacr/views.py
+
1
−
4
View file @
1c553535
...
...
@@ -38,10 +38,7 @@ def home(request):
'
use_voter_aliases
'
:
True
}
election
=
get_election
()
if
not
election
:
election
=
Election
(
key_name
=
election_params
[
'
short_name
'
],
**
election_params
)
election
.
put
()
election
,
created_p
=
Election
.
get_or_create
(
**
election_params
)
return
render_template
(
request
,
"
index
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment