fix: app name in folder's app creation
This commit is contained in:
parent
dcf121d377
commit
d8f251b512
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ local function perform_create_app(value)
|
||||||
execute_command(os.execute, "./manage.py startapp " .. appname .. " " .. value)
|
execute_command(os.execute, "./manage.py startapp " .. appname .. " " .. value)
|
||||||
if check_app(value) == true then
|
if check_app(value) == true then
|
||||||
create_form_file(value)
|
create_form_file(value)
|
||||||
create_template_static_dirs(value, value)
|
create_template_static_dirs(appname, value)
|
||||||
execute_command(
|
execute_command(
|
||||||
os.execute,
|
os.execute,
|
||||||
"echo -e \"from django.urls import path\n\nfrom . import views\n\napp_name = '"
|
"echo -e \"from django.urls import path\n\nfrom . import views\n\napp_name = '"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue