diff --git a/lua/django/utils.lua b/lua/django/utils.lua index 9a6e8ee..6064625 100644 --- a/lua/django/utils.lua +++ b/lua/django/utils.lua @@ -147,7 +147,7 @@ local function perform_create_app(value) create_template_static_dirs(value, value) execute_command( os.execute, - "echo -e \"from django.urls import path\n\napp_name = '" + "echo -e \"from django.urls import path\n\nfrom . import views\n\napp_name = '" .. appname .. "'\n\nurlpatterns = []\" > " .. value