Re: Can't locate Django source code path
To grab the entire source package, follow the instructions on this page: https://code.djangoproject.com/#Browsingthecodeonline To grab just that single HTML file, it can be found here: https://code.djangoproject.com/browser/django/trunk/django/contrib/admin/templates/admin Note, that there's different versions of Django so if you are using version 1.3, then you will have to go to the 1.3 release instead of using the "trunk". Good luck! On Tue, Nov 1, 2011 at 10:43 PM, BillB1951wrote: > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Can't locate Django source code path
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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.