correct imports. make a few more dummy proposals

This commit is contained in:
Clinton Roy 2019-10-13 15:40:48 +11:00 committed by Joel Addison
parent 8a5ee6837b
commit 1243e499e3

View file

@ -4,7 +4,8 @@ from symposion.conference.models import Section, current_conference
from symposion.speakers.models import Speaker from symposion.speakers.models import Speaker
from symposion.schedule.models import Presentation from symposion.schedule.models import Presentation
from pinaxcon.proposals.models import TalkProposal, ProposalKind from symposion.proposals.models import ProposalKind
from pinaxcon.proposals.models import TalkProposal
class Command(BaseCommand): class Command(BaseCommand):
@ -23,7 +24,7 @@ class Command(BaseCommand):
print(talk_kind) print(talk_kind)
for i in range(1000, 1010): for i in range(1000, 1020):
prop, _created = TalkProposal.objects.get_or_create( prop, _created = TalkProposal.objects.get_or_create(
pk=i, kind=talk_kind, speaker=speaker, target_audience=target_audience) pk=i, kind=talk_kind, speaker=speaker, target_audience=target_audience)
pres, _created = Presentation.objects.get_or_create( pres, _created = Presentation.objects.get_or_create(