Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed cfp talk category descriptions. #218

Merged
merged 2 commits into from
Mar 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions pybay/proposals/migrations/0012_auto_20180318_1843.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2018-03-19 01:43
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('proposals', '0011_auto_20180318_0137'),
]

operations = [
migrations.AlterField(
model_name='talkproposal',
name='category',
field=models.CharField(choices=[('python fundamentals & language internals', 'Python Fundamentals & Language Internals'), ('machine learning, ai, & all things data', 'Machine Learning, AI, & All things Data'), ('devops, automation, & testing', 'DevOps, Automation, & Testing'), ('dealing with speed, scale, & performance', 'Dealing with Speed, Scale, & Performance'), ('fun: hacking hardwareengineering a community ', 'Fun: Hacking Hardware/Engineering a Community ')], max_length=100),
),
migrations.AlterField(
model_name='tutorialproposal',
name='category',
field=models.CharField(choices=[('python fundamentals & language internals', 'Python Fundamentals & Language Internals'), ('machine learning, ai, & all things data', 'Machine Learning, AI, & All things Data'), ('devops, automation, & testing', 'DevOps, Automation, & Testing'), ('dealing with speed, scale, & performance', 'Dealing with Speed, Scale, & Performance'), ('fun: hacking hardwareengineering a community ', 'Fun: Hacking Hardware/Engineering a Community ')], max_length=100),
),
]
10 changes: 5 additions & 5 deletions pybay/proposals/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class Proposal(ProposalBase):
]

CATEGORY_CHOICES = [
"Python fundamentals and language internals",
"Machine learning, AI, & all things data",
"DevOps, automation, & testing",
"Hacking hardware with Python",
"Engineering a community"
"Python Fundamentals & Language Internals",
"Machine Learning, AI, & All things Data",
"DevOps, Automation, & Testing",
"Dealing with Speed, Scale, & Performance",
"Fun: Hacking Hardware/Engineering a Community "
]
CATEGORY_CHOICES = [
(c.lower().replace('/', ''), c) for c in CATEGORY_CHOICES
Expand Down
2 changes: 1 addition & 1 deletion pybay/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_data(self):
'email': "pirosb3@gmail.com",
'website': "woo.com",
'phone': "+14155289519",
'category': "python fundamentals and language internals",
'category': "python fundamentals & language internals",
'audience_level': 1,
'talk_length': 25,
'speaker_bio': 'wooo',
Expand Down