-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a flag on Sponsors for Job Fair Participation
Issue #638 and #643 both relate to determining if a Sponsor is participating in the Job Fair or not! This adds a Boolean that can annotate Job Fair Participation for each sponsor individually and exposes that in the the Django Admin. PyCon staff can now explicitly set or unset Job Fair Participation so that we can auto generate the list of Job Fair Participants for #643 and hopefully expose the boolean for templates to contain different content for Sponsors who are and are not participating in the job fair.
- Loading branch information
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
pycon/sponsorship/migrations/0018_sponsor_job_fair_participant.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('sponsorship', '0017_sponsorship_form_fields'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='sponsor', | ||
name='job_fair_participant', | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters