ldjango
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: ldjango | ||
| Version: 7.8 | ||
| Version: 7.9 | ||
| Summary: CLI tool for creating Django projects with a predefined structure. | ||
@@ -5,0 +5,0 @@ Author: Liaranda |
+1
-1
@@ -12,3 +12,3 @@ import os | ||
| version = '7.8' | ||
| version = '7.9' | ||
@@ -15,0 +15,0 @@ # Initialize colorama |
+2
-2
@@ -107,3 +107,3 @@ import os | ||
| end_bracket_index = content.find(']', content.find(installed_apps_pattern)) | ||
| new_apps = '\n ' + '\n '.join([f"'apps.{app_name}'" for app_name in app_names]) | ||
| new_apps = '\n ' + '\n '.join([f"'apps.{app_name}'," for app_name in app_names]) | ||
| updated_content = content[:end_bracket_index].rstrip() + new_apps + '\n]' + content[end_bracket_index+1:] | ||
@@ -432,3 +432,3 @@ return updated_content.replace(",,", ",") | ||
| end_index = settings_content.find("\n", end_index) | ||
| settings_content = settings_content[:start_index] + "DATABASES = {\n 'default': env.db(),\n}" + settings_content[end_index:] | ||
| settings_content = settings_content[:start_index] + "DATABASES = {\n 'default': env.db(),\n" + settings_content[end_index:] | ||
@@ -435,0 +435,0 @@ with open(settings_path, 'w') as settings_file: |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: ldjango | ||
| Version: 7.8 | ||
| Version: 7.9 | ||
| Summary: CLI tool for creating Django projects with a predefined structure. | ||
@@ -5,0 +5,0 @@ Author: Liaranda |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.