Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
concrexit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
thalia
concrexit
Commits
33d75764
Commit
33d75764
authored
Sep 06, 2019
by
Luko van der Maas
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed check for expiration date of vacancies
parent
82eff600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
website/partners/views.py
website/partners/views.py
+1
-3
No files found.
website/partners/views.py
View file @
33d75764
from
random
import
random
from
django.shortcuts
import
get_object_or_404
,
render
from
django.utils
import
timezone
from
partners.models
import
Partner
,
Vacancy
,
VacancyCategory
...
...
@@ -37,8 +36,7 @@ def partner(request, slug):
def
vacancies
(
request
):
"""View to show vacancies."""
context
=
{
'vacancies'
:
Vacancy
.
objects
.
exclude
(
expiration_date__lte
=
timezone
.
now
().
date
()).
order_by
(
'?'
),
'vacancies'
:
Vacancy
.
objects
.
order_by
(
'?'
),
'categories'
:
VacancyCategory
.
objects
.
all
(),
}
...
...
Sébastiaan Versteeg
@sversteeg
mentioned in commit
e8ec795b
·
Sep 06, 2019
mentioned in commit
e8ec795b
mentioned in commit e8ec795b68edc1a965a2ddc397be032aeb7a42d5
Toggle commit list
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