update: include import views
This commit is contained in:
parent
35054d9897
commit
dcf121d377
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue