Code

Opened 7 years ago

Closed 7 years ago

#3159 closed defect (fixed)

Documentation says about "symlinking"

Reported by: anonymous Owned by: jacob
Component: Documentation Version: master
Severity: trivial Keywords: doc symlink django-admin
Cc: dev@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the beginning http://www.djangoproject.com/documentation/django_admin/
says about manage.py

Consider symlinking to it from some place on your path, such as /usr/local/bin.

But there is NO "symlinking" in Windows.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by anonymous

  • Cc dev@… added
  • priority changed from high to low
  • Severity changed from major to trivial

Do you mean django-admin.py? You can follow the comment by Valter on the install documentation at: http://www.djangoproject.com/documentation/install/#c578

One trick to make life easier on Windows:

- append ".py" to PATHEXT (Settings - Control Panel - System - Advanced - Environment...) 
- append C:\Program Files\Python\Scripts to PATH

This way you can run django-admin.py by just typing "django-admin".

comment:2 Changed 7 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

comment:3 Changed 7 years ago by Simon G. <dev@…>

  • Has patch set
  • Keywords django-admin added; djang-admin removed
  • Triage Stage changed from Unreviewed to Ready for checkin

Minor patch to make this a bit less platform dependant.

Index: docs/django-admin.txt
===================================================================
--- docs/django-admin.txt       (revision 4347)
+++ docs/django-admin.txt       (working copy)
@@ -17,7 +17,7 @@
 The ``django-admin.py`` script should be on your system path if you installed
 Django via its ``setup.py`` utility. If it's not on your path, you can find it in
 ``site-packages/django/bin`` within your Python installation. Consider
-symlinking to it from some place on your path, such as ``/usr/local/bin``.
+symlinking or copying it into your path, such as ``/usr/local/bin``.
 
 Generally, when working on a single Django project, it's easier to use
 ``manage.py``. Use ``django-admin.py`` with ``DJANGO_SETTINGS_MODULE``, or the

comment:4 Changed 7 years ago by mtredinnick

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

(In [4481]) Fixed #3159 -- documented how to work around a lack of symlinking functionality
on Windows (with respect to django-admin.py).

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.