correct imports. make a few more dummy proposals
This commit is contained in:
parent
8a5ee6837b
commit
1243e499e3
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,8 @@ from symposion.conference.models import Section, current_conference
|
|||
|
||||
from symposion.speakers.models import Speaker
|
||||
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):
|
||||
|
@ -23,7 +24,7 @@ class Command(BaseCommand):
|
|||
|
||||
print(talk_kind)
|
||||
|
||||
for i in range(1000, 1010):
|
||||
for i in range(1000, 1020):
|
||||
prop, _created = TalkProposal.objects.get_or_create(
|
||||
pk=i, kind=talk_kind, speaker=speaker, target_audience=target_audience)
|
||||
pres, _created = Presentation.objects.get_or_create(
|
||||
|
|
Loading…
Reference in a new issue