Changes between Initial Version and Version 1 of Ticket #28398, comment 5


Ignore:
Timestamp:
07/30/2017 09:43:12 AM (2 years ago)
Author:
Tom Forbes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28398, comment 5

    initial v1  
    33Simply printing out potential candidate commands when the user makes a typo is a quick and easy win IMO. Yes, users could use grep, but that assumes that they are familiar with such tools and are on a system that provides them. Plus learning a new tool like manage.py can be quite hard at the beginning and there is definitely a selection bias here of people who are familiar with Django and unix tooling in general. I wouldn't find this feature useful at all, but someone who is starting out with Django may.
    44
     5For the completion suggestions, difflib.get_close_matches seems to be a good candidate rather than substring matching or rolling our own - plus it's in the stdlib.
     6
Back to Top