You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
607 B
18 lines
607 B
from django.contrib.auth.models import Group, Permission
|
|
from django.contrib.contenttypes.models import ContentType
|
|
from django.core.management import BaseCommand
|
|
import pydash as _; _.map = _.map_; _.filter = _.filter_
|
|
|
|
from archilance import util
|
|
from projects.models import Project
|
|
from registration.models import RegistrationProfile
|
|
from users.models import User
|
|
|
|
|
|
class Command(BaseCommand):
|
|
def handle(self, *args, **options):
|
|
print('---------------------------------------')
|
|
print('Creating projects...')
|
|
print('---------------------------------------')
|
|
|
|
|
|
|