Code

Opened 9 years ago

Closed 9 years ago

#706 closed enhancement (wontfix)

rename of django-admin.py?

Reported by: gerryrmail-dj@… Owned by: adrian
Component: Core (Management commands) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I would like to step thru django-admin.py in an IDE debugger. (Eclipse and Pydev).

To do so I have attempted to run django-admin.py as follows:

from django.bin import django-admin

django-admin.main()

# (pydev allows me to supply the parms)

but the - in django-admin.py gives me a syntax error on both statements. If i rename django-admin.py to django_admin.py (- to _), all is well.

Perhaps you would consider making this change.

(I am a python newbie...so please cut me some slack if I am missing something simple.)

thx,

gerry rodman

htp://www.gerryrodman.com

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by adrian

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

If you want to access django-admin.py's functionality programatically, use the functions in django.core.management.

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.