File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ def create_programs(output=True):
262262 s .save ()
263263
264264 if output :
265- print ("Created {}: '{}'" .format (p .slug , s .slug ))
265+ print ("Created {}: '{}'" .format (p .name , s .slug ))
266266
267267 """ Create forms for the program """
268268 for _ in range (DEFAULT_NUMBER_FORMS ):
Original file line number Diff line number Diff line change 11from django .db import models
2- import re
32
43class Program (models .Model ):
54 name = models .CharField (max_length = 100 )
Original file line number Diff line number Diff line change 11from core .viewsets import ModelViewSet
22from rest_framework .response import Response
3- from core .models import Program , Program
3+ from core .models import Program
44from core .programs .serializer import ProgramSerializer
55from core .services .serializers import ServiceSerializer
66
You can’t perform that action at this time.
0 commit comments