hooks/post_gen_project.py
def create_subprojects(self):
        """Create the the django and react apps."""
        cookiecutter(
            "https://github.com/20tab/django-continuous-delivery",
            extra_context={
                "domain_url": self.domain_url,
                "gitlab_group_slug": self.gitlab_group_slug,
                "project_dirname": "backend",
                "project_name": self.project_name,
                "project_slug": self.project_slug,
                "use_media_volume": self.use_media_volume,
            },
            no_input=True,
        )
        cookiecutter(
            "https://github.com/20tab/react-continuous-delivery",
            extra_context={
                "gitlab_group_slug": self.gitlab_group_slug,
                "project_dirname": "frontend",
                "project_name": self.project_name,
                "project_slug": self.project_slug,
            },
            no_input=True,
        )
Create the the django and react apps.
Create the the django and react apps.
Create the the django and react apps .
def create_subprojects(self):
        cookiecutter(
            "https://github.com/20tab/django-continuous-delivery",
            extra_context={
                "domain_url": self.domain_url,
                "gitlab_group_slug": self.gitlab_group_slug,
                "project_dirname": "backend",
                "project_name": self.project_name,
                "project_slug": self.project_slug,
                "use_media_volume": self.use_media_volume,
            },
            no_input=True,
        )
        cookiecutter(
            "https://github.com/20tab/react-continuous-delivery",
            extra_context={
                "gitlab_group_slug": self.gitlab_group_slug,
                "project_dirname": "frontend",
                "project_name": self.project_name,
                "project_slug": self.project_slug,
            },
            no_input=True,
        )
def create_subprojects ( self ) : cookiecutter ( "https://github.com/20tab/django-continuous-delivery" , extra_context = { "domain_url" : self . domain_url , "gitlab_group_slug" : self . gitlab_group_slug , "project_dirname" : "backend" , "project_name" : self . project_name , "project_slug" : self . project_slug , "use_media_volume" : self . use_media_volume , } , no_input = True , ) cookiecutter ( "https://github.com/20tab/react-continuous-delivery" , extra_context = { "gitlab_group_slug" : self . gitlab_group_slug , "project_dirname" : "frontend" , "project_name" : self . project_name , "project_slug" : self . project_slug , } , no_input = True , )
Create the the django and react apps.
Create the the django and react apps .
"""Create the the django and react apps."""
self