fix: app name in folder's app creation

This commit is contained in:
Lucas F. 2025-01-23 14:27:53 -03:00
parent dcf121d377
commit d8f251b512

View file

@ -144,7 +144,7 @@ local function perform_create_app(value)
execute_command(os.execute, "./manage.py startapp " .. appname .. " " .. value)
if check_app(value) == true then
create_form_file(value)
create_template_static_dirs(value, value)
create_template_static_dirs(appname, value)
execute_command(
os.execute,
"echo -e \"from django.urls import path\n\nfrom . import views\n\napp_name = '"