Changes between Initial Version and Version 1 of Ticket #33890, comment 6


Ignore:
Timestamp:
Aug 4, 2022, 3:41:03 AM (2 years ago)
Author:
piscvau

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33890, comment 6

    initial v1  
    1 Thanks for your answer;
    2 The issue is if you need to create a project, whose name is the name of the current directory.
     1Thanks for your answer.
     2You are right. In a python interpreter, the command passes.
    33
    4 I am not sure about other consequences but a very simple fix could be :
    5 in management.commands.templates validate_name, do not run the import_module test if the name == Path.cwd().stem
     4 But it does not pass in my IDE!.....it  seems to add initial directory in sys.modules!.....
     5Please excuse me and have a nice day!......
     6
     7
Back to Top