Tuesday, November 1, 2011

Re: Can't locate Django source code path

It will be in the "site-packages" directory of your Python installation.
For Windows, this is typically C:\Python27\Lib\site-packages\django. The
location varies based on operating system. You can always open the
python interpreter and run

>>> import sys
>>> sys.path

to get a clue where your PYthon installation is (look for a path which
includes 'site-packages').

On 11/1/2011 7:43 PM, BillB1951 wrote:
> FRom part 2 of the tutorial I am instructed to copy a file ---
>
>
> Now copy the template admin/base_site.html from within the default
> Django admin template directory in the source code of Django itself
> (django/contrib/admin/templates) i
>
> I can't find the path. How do I get to it?
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment