Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details →
Socket
Book a DemoInstallSign in
Socket

ldjango

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldjango - npm Package Compare versions

Comparing version
8.2
to
8.3
+1
-1
ldjango.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: ldjango
Version: 8.2
Version: 8.3
Summary: CLI tool for creating Django projects with a predefined structure.

@@ -5,0 +5,0 @@ Author: Liaranda

@@ -12,3 +12,3 @@ import os

version = '8.2'
version = '8.3'

@@ -15,0 +15,0 @@ # Initialize colorama

@@ -124,3 +124,3 @@ import os

STATIC_ROOT = BASE_DIR / 'static'
STATICFILES_DIRS = [BASE_DIR / 'static']
STATICFILES_DIRS = [BASE_DIR / 'staticfiles']

@@ -229,14 +229,7 @@ MEDIA_URL = '/media/'

# Jalankan makemigrations terlebih dahulu
subprocess.run(['python', 'manage.py', 'makemigrations'], check=True, capture_output=True, text=True)
run_command(['python', 'manage.py', 'makemigrations'], pbar)
pbar.update(1)
# Kemudian jalankan migrate
migrate_result = run_command(['python', 'manage.py', 'migrate'], pbar)
if migrate_result.returncode != 0:
click.echo(click.style(f"Warning: Migration failed. Error:", fg="yellow"))
click.echo(click.style(f"STDOUT: {migrate_result.stdout}", fg="yellow"))
click.echo(click.style(f"STDERR: {migrate_result.stderr}", fg="red"))
click.echo(click.style("You may need to run migrations manually after fixing any issues.", fg="yellow"))
else:
pbar.update(1)
run_command(['python', 'manage.py', 'migrate'], pbar)
except subprocess.CalledProcessError as e:

@@ -243,0 +236,0 @@ click.echo(click.style(f"Error during Django commands: {e}", fg="red"))

Metadata-Version: 2.1
Name: ldjango
Version: 8.2
Version: 8.3
Summary: CLI tool for creating Django projects with a predefined structure.

@@ -5,0 +5,0 @@ Author: Liaranda