$ ls lib/python2.4/site-packages/django/contrib/admin/
filterspecs.py media templates urls.py views
__init__.py models.py templatetags utils.py
> Regards,
>
> Guillermo
>
It doesn't work. :-(
Two things, though I suppose it was a typo:
Instead of:... i only found:
python/libs/site_packges/django/contrib/admin/templates
python/libs/site_packges/django/contrib/admin/templatetags
Is that correct? There are no html files in this folder, only python
code.
Just rebuilt Windows XP on a new hard disk and I have found the same
problem installing Python 2.5 and the latest SVN checkout (rev 7129).
Setup.py install doesn't copy across the templates and media folders
into C:\Python25\Lib\site-packages\django\contrib\admin.
Like Nathan, a manual copy solved the issue.
Karen,
Thanks for your analysis. Yes, I can confirm that I don't have the
locale files either.
Deleting my Django install and "running python setup.py install" does
a correct install on mine as well.
I would be interested to hear if anyone knows why the difference
between python setup.py and setup.py?
On Feb 19, 2008 4:06 PM, RichardH <Richar...@i-logue.com> wrote:
Karen,
Thanks for your analysis. Yes, I can confirm that I don't have the
locale files either.
Deleting my Django install and "running python setup.py install" does
a correct install on mine as well.
I would be interested to hear if anyone knows why the difference
between python setup.py and setup.py?
I've dug into this a little further and the different results seem to be caused by different values of the __file__ variable depending on how the script is invoked. On Windows using 'setup.py install', __file__ is fully-qualified (e.g. 'C:\path\to\django\setup.py') whereas with 'python setup.py install', __file__ is simply 'setup.py'. The fuly-qualified version causes problems since it finds its way into the destination directory for the data files, so data files don't get copied to the installation target directory.
Still looking into what the right fix is, but at least now it seems like we've got a handle on what the problem is. It's been popping up on the list for quite a while, and I've always found it mysterious since I could never recreate it.