DEV Community

islam kamel
islam kamel

Posted on

2 1

DjangoStart New Release 1.0.4 🎊

This script saves time for you to start a new Django project. It creates the project and creates the first app and then updates the project settings file and also updates the project URLs file and then creates a views and configures the application URLs file and also creates the index.html

TL;DR

New Feature

  • -v, --virtualenv For create virtual environment by default name env
  • -n, --name To set custom name for virtualenv -v -n my_new_name

Chang Log

  • added help options
  • fixes bugs
  • refactor code
  • remove version check function
  • required add path to project django-start <project_name> <app_name> .
  • now for install django-start just type pip install django-start-automate

Installation

pip install django-start-automate
Enter fullscreen mode Exit fullscreen mode
django-start --help

usage: django-start [-h] [-v] [-n ] project_name app_name path

django-start 1.0.4 (Beta) automate start project and create app

positional arguments:
  project_name      Write a project name
  app_name          Write an app name
  path              select path

options:
  -h, --help        show this help message and exit
  -v, --virtualenv  Create virtualenv
  -n [], --name []  Set virtualenv name

Enter fullscreen mode Exit fullscreen mode

Success Install 🎊

Start First Project with virtualenv

django-start frist_project first_app -v -n my_virtualenv .
Enter fullscreen mode Exit fullscreen mode

You can run command without create virrualenv

django-start frist_project first_app .
Enter fullscreen mode Exit fullscreen mode

django start screen shoot
pypi project
django-start repo

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (2)

Collapse
 
zodman profile image
Andres 🐍 in πŸ‡¨πŸ‡¦ β€’

why not use a django template instead ?

docs.djangoproject.com/en/dev/ref/...

Collapse
 
islamkamel profile image
islam kamel β€’

Use django-start to create your own template !

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay