Opened 19 years ago

Closed 19 years ago

#706 closed enhancement (wontfix)

rename of django-admin.py?

Reported by: gerryrmail-dj@… Owned by: Adrian Holovaty
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: no UI/UX: no

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

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top