Code

Opened 8 years ago

Closed 8 years ago

#1719 closed enhancement (fixed)

autocomplete is missing in shell

Reported by: dorian.santner@… Owned by: adrian
Component: contrib.admin Version: 0.91
Severity: normal Keywords: manage shell
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Hi,

I am missing the functionality of autocompletion in the django shell
so:
import readline
import rlcompleter
readline.parse_and_bind("tab:complete")

a=5
a=<tab><tab>
#<tab><tab> means clicking the tab-key twice
#does not show methods ,
#which work in the normal python shell (under linux)

I like django, but i love the autocompletion,
any hints what i can do to make it work in the django shell ?

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2842]) Fixed #1719 -- Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.